Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Doubt in vc++ regarding Window Creation notification

Doubt in vc++ regarding Window Creation notification

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
9 Posts 5 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Javagal Srinath
    wrote on last edited by
    #1

    Hi Can any one tell me - How to get a windows notification when a new window of other application (eg Message box, dialog box) is (Created | displayed) on window. I know WM_CREATE message is only sent to window which we register, ie we get notifiation of a window creation of our application. All I want is to get window notification when a new window (other application) is created please reply as soon as possible, Thanks in advance

    N T 2 Replies Last reply
    0
    • J Javagal Srinath

      Hi Can any one tell me - How to get a windows notification when a new window of other application (eg Message box, dialog box) is (Created | displayed) on window. I know WM_CREATE message is only sent to window which we register, ie we get notifiation of a window creation of our application. All I want is to get window notification when a new window (other application) is created please reply as soon as possible, Thanks in advance

      N Offline
      N Offline
      Nibu babu thomas
      wrote on last edited by
      #2

      Javagal Srinath wrote:

      Can any one tell me - How to get a windows notification when a new window of other application (eg Message box, dialog box) is (Created | displayed) on window.

      WH_CBT will help you.


      Nibu thomas A Developer Programming tips[^]  My site[^]

      J 1 Reply Last reply
      0
      • J Javagal Srinath

        Hi Can any one tell me - How to get a windows notification when a new window of other application (eg Message box, dialog box) is (Created | displayed) on window. I know WM_CREATE message is only sent to window which we register, ie we get notifiation of a window creation of our application. All I want is to get window notification when a new window (other application) is created please reply as soon as possible, Thanks in advance

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        Javagal Srinath wrote:

        I know WM_CREATE message is only sent to window which we register, ie we get notifiation of a window creation of our application.

        this[^] will work for you!

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

        P 1 Reply Last reply
        0
        • N Nibu babu thomas

          Javagal Srinath wrote:

          Can any one tell me - How to get a windows notification when a new window of other application (eg Message box, dialog box) is (Created | displayed) on window.

          WH_CBT will help you.


          Nibu thomas A Developer Programming tips[^]  My site[^]

          J Offline
          J Offline
          Javagal Srinath
          wrote on last edited by
          #4

          Hi thanks for ur reply WH_CBT - is this a windows message. Best Regards Deepu

          N S 2 Replies Last reply
          0
          • J Javagal Srinath

            Hi thanks for ur reply WH_CBT - is this a windows message. Best Regards Deepu

            N Offline
            N Offline
            Nibu babu thomas
            wrote on last edited by
            #5

            Javagal Srinath wrote:

            WH_CBT - is this a windows message.

            An article on windows hooks by Kyle Marsh[^].


            Nibu thomas A Developer Programming tips[^]  My site[^]

            1 Reply Last reply
            0
            • J Javagal Srinath

              Hi thanks for ur reply WH_CBT - is this a windows message. Best Regards Deepu

              S Offline
              S Offline
              Stephen Hewitt
              wrote on last edited by
              #6

              WH_CBT is not a window message; it's a hook type. See the SetWindowsHookEx API. You might want to look for some articles on hooks as global hooks are hardish to write. Steve

              1 Reply Last reply
              0
              • T ThatsAlok

                Javagal Srinath wrote:

                I know WM_CREATE message is only sent to window which we register, ie we get notifiation of a window creation of our application.

                this[^] will work for you!

                "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                P Offline
                P Offline
                pathakr
                wrote on last edited by
                #7

                Use findwindow pathak

                T 1 Reply Last reply
                0
                • P pathakr

                  Use findwindow pathak

                  T Offline
                  T Offline
                  ThatsAlok
                  wrote on last edited by
                  #8

                  pathakr wrote:

                  Use findwindow

                  I believe you posted your reply to wrong person, i am not person in problem here!:)

                  "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                  cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                  P 1 Reply Last reply
                  0
                  • T ThatsAlok

                    pathakr wrote:

                    Use findwindow

                    I believe you posted your reply to wrong person, i am not person in problem here!:)

                    "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                    cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                    P Offline
                    P Offline
                    pathakr
                    wrote on last edited by
                    #9

                    Alok my apologies , thanks pathak

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups