• Advertisement

Archived

This topic is now archived and is closed to further replies.

no WM_KILLFOCUS?

This topic is 5910 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want my app to detect itself loosing the focus so I can release the mouse and generally shut down some other processing. I attempted to detect the individual messages but for some reason when I alt tab from my window to another I don''t seem to get any messages that would be indicative of the app loosing focus. All I seem to get is things to do with paint and paintsync. Any ideas? Chris Brodie http:\\fourth.flipcode.com

Share this post


Link to post
Share on other sites
Advertisement

case WM_ACTIVATE:
{
if (LOWORD(wParam) == WA_INACTIVE)
bWindowActive = false;
else
bWindowActive = true;
break;
}


That should be all you need... from what I understand of your questions.

------------
- outRider -

Share this post


Link to post
Share on other sites

  • Advertisement