|
-
May 6th, 1999, 06:15 AM
#1
Send WM_PAINT to another application
Can my program send a message to another program?
Thanks in advance.
_______
-
May 6th, 1999, 06:24 AM
#2
Re: Send WM_PAINT to another application
Here's a gross solution!! If you know the title bar text of the target window, call FindWindow() to get it's hWnd, you can then call PostMessage (or create a CWnd * then call class members like Invalidate(), which posts the message for you). Note this isn't very good code though - if the caption of the window changes your code will break...
A better solution is to have your applications expose interfaces which you can use to post notification on.
MJA
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
|