tags:

views:

62

answers:

2

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
A: 

WM_ACTIVATE

tiftik
WM_ACTIVATE, but check the WParam... should be WA_INACTIVE.
code4life