which notification message do you receive if any window is losing focus?
+3
A:
WM_KILLFOCUS
. In case you care, wParam
will be the handle of the window that's receiving the focus.
Jerry Coffin
2010-03-13 19:00:14
WM_ACTIVATE, but check the WParam... should be WA_INACTIVE.
code4life
2010-03-31 18:08:32