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 Msg to child window

How to send Msg to child window

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
6 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.
  • S Offline
    S Offline
    Sumit Kapoor
    wrote on last edited by
    #1

    Hi Dear, I want to send a Message to sub-sub window class... I know there is role of Spy++ in this... please give me any idea..what to find in spy++ & How to send messag to that class.. If possible code snippet for msg send...Please.... Thanks ---Sumit Kapoor---

    J D 2 Replies Last reply
    0
    • S Sumit Kapoor

      Hi Dear, I want to send a Message to sub-sub window class... I know there is role of Spy++ in this... please give me any idea..what to find in spy++ & How to send messag to that class.. If possible code snippet for msg send...Please.... Thanks ---Sumit Kapoor---

      J Offline
      J Offline
      Jeremy Falcon
      wrote on last edited by
      #2

      Take a look at either the SendMessage() or PostMessage() API calls in MSDN. Jeremy Falcon

      S 1 Reply Last reply
      0
      • S Sumit Kapoor

        Hi Dear, I want to send a Message to sub-sub window class... I know there is role of Spy++ in this... please give me any idea..what to find in spy++ & How to send messag to that class.. If possible code snippet for msg send...Please.... Thanks ---Sumit Kapoor---

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        If you have a handle to the child window, just use SendMessage(). Otherwise, if you are using MFC, does SendMessageToDescendants() help?


        "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

        S 1 Reply Last reply
        0
        • D David Crow

          If you have a handle to the child window, just use SendMessage(). Otherwise, if you are using MFC, does SendMessageToDescendants() help?


          "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

          S Offline
          S Offline
          Sumit Kapoor
          wrote on last edited by
          #4

          hi, my actual class is so deep I cann't use send message from mainframe to that class. I think need to use spy++..but how to..I don't know..Plesase help me.. Thanks ---Sumit Kapoor--- sumit_kapoor1980@hotmail.com

          D 1 Reply Last reply
          0
          • J Jeremy Falcon

            Take a look at either the SendMessage() or PostMessage() API calls in MSDN. Jeremy Falcon

            S Offline
            S Offline
            Sumit Kapoor
            wrote on last edited by
            #5

            hi, my actual class is so deep I cann't use send message from mainframe to that class. I think need to use spy++..but how to..I don't know..Plesase help me.. Thanks Sumit Kapoor--- sumit_kapoor1980@hotmail.com

            1 Reply Last reply
            0
            • S Sumit Kapoor

              hi, my actual class is so deep I cann't use send message from mainframe to that class. I think need to use spy++..but how to..I don't know..Plesase help me.. Thanks ---Sumit Kapoor--- sumit_kapoor1980@hotmail.com

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #6

              So what exactly is your question - how to send a message to a child window, or how to use Spy++?


              "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

              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