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