|
-
March 29th, 2011, 11:51 AM
#1
Getting focused window in OnActivate?
Hello all -
I have a dialog that handles the WM_ACTIVATE message to know when it's deactivated for another window. The 'pWndOther' parameter of OnActivate indicates the window being activated, however I have a need to know what window will receive the input focus at this time. This window could be a child control on the window being activated. Calling CWnd::GetFocus in my dialog's OnActivate handler returns the window with the current focus, but I want the window that is GOING to get the focus. Is there any way to do this? Thanks in advance!
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
|