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. Send msg to child by using FindWindow

Send msg to child by using FindWindow

Scheduled Pinned Locked Moved C / C++ / MFC
comhelptutorialquestion
2 Posts 2 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... I've to much deep child to which i want to sen msg. from mainfrm class.. as there r some RUNTIME_CLASS... so can't understand how to pass msg. from mainframe to that class.. can anybody help me.. I've hint as v may need to use FindWindow..But can't get solution yet from tweo days.. can anybody help? THanks ---Sumit Kapoor--- sumit_kapoor1980@hotmail.com

    PJ ArendsP 1 Reply Last reply
    0
    • S Sumit Kapoor

      hi... I've to much deep child to which i want to sen msg. from mainfrm class.. as there r some RUNTIME_CLASS... so can't understand how to pass msg. from mainframe to that class.. can anybody help me.. I've hint as v may need to use FindWindow..But can't get solution yet from tweo days.. can anybody help? THanks ---Sumit Kapoor--- sumit_kapoor1980@hotmail.com

      PJ ArendsP Offline
      PJ ArendsP Offline
      PJ Arends
      wrote on last edited by
      #2

      You have asked this question before. A quick look in MSDN will reveal a host of functions that you could use to find the CWnd pointer to the window you want to send the message to. Look up CWnd, CFrameWnd, CSplitterWnd, CView, and CDocument. Read what each of the member functions does, and find the ones that will do what you want.


      [

      ](http://www.canucks.com)"You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04 Within you lies the power for good - Use it!

      Within you lies the power for good; Use it!

      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