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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to send message to a child window

How to send message to a child window

Scheduled Pinned Locked Moved C / C++ / MFC
data-structuresjsontutorialquestion
4 Posts 3 Posters 0 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.
  • N Offline
    N Offline
    Nitheesh George
    wrote on last edited by
    #1

    Hi, I am developing an application which hooks the common dialog WIndow. I wanted to send a message to the common dialog to make a force redraw of the window. I used PostMessage API to post a message to the queue but it does not work for Child Window. How can i send a message to a child Window without using the SendMessage API. thanks Nitheesh

    H T 2 Replies Last reply
    0
    • N Nitheesh George

      Hi, I am developing an application which hooks the common dialog WIndow. I wanted to send a message to the common dialog to make a force redraw of the window. I used PostMessage API to post a message to the queue but it does not work for Child Window. How can i send a message to a child Window without using the SendMessage API. thanks Nitheesh

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      Does SendMessage work?

      N 1 Reply Last reply
      0
      • H Hamid Taebi

        Does SendMessage work?

        N Offline
        N Offline
        Nitheesh George
        wrote on last edited by
        #3

        Yes SendMessage Works fine. But i want to Post Message to the Queue.

        1 Reply Last reply
        0
        • N Nitheesh George

          Hi, I am developing an application which hooks the common dialog WIndow. I wanted to send a message to the common dialog to make a force redraw of the window. I used PostMessage API to post a message to the queue but it does not work for Child Window. How can i send a message to a child Window without using the SendMessage API. thanks Nitheesh

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

          Nitheesh George wrote:

          I used PostMessage API to post a message to the queue but it does not work for Child Window. How can i send a message to a child Window without using the SendMessage API.

          if sendmessage work, post message ought to work. try putting breakpoint in MessageHandller function to check when it recv the postmessage request

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
          Never mind - my own stupidity is the source of every "problem" - Mixture

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

          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