|
-
March 29th, 1999, 08:12 AM
#1
Focus problem
I am having a problem with window focus. When a screen saver pops up or another window on the PC(multiple windows opned at once)has the main focus the return to the main C++ application has some of the screen missing which causes the program to crash because the info on the screen is being constantly updated. My main question is how do I know when the focus of the screen has changed? I can do a re-size of the screen by changing it with the mouse and get the missing info back but I don't know when to issue the re-size from with in the application.
-
March 29th, 1999, 08:17 AM
#2
CWnd::OnKillFocus()
Sounds like a job for CWnd::OnKillFocus().
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
|