|
-
April 22nd, 1999, 02:43 PM
#1
Recieving other windows' messages...
I have gotten a pointer to a window through CWnd::FindWindow(). How can I receive messages that are sent to that window if I have a pointer to it?
Mike Dorsey
-
April 22nd, 1999, 04:59 PM
#2
Re: Recieving other windows' messages...
Check out topics dealing with "window subclassing". This is exactly what you need to do to accomplish your goal.
In a nutshell, you are replacing the new window's procedure with your own window procedure. You track the messages within your own procedure, and when done, call the original window procedure that you replaced.
Regards,
Paul McKenzie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|