no WM_KILLFOCUS?

Started by
0 comments, last by gimp 22 years, 5 months ago
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
Chris Brodie
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 -

This topic is closed to new replies.

Advertisement