What is the opposite of WM_ACTIVATE (Window deactivation message)?
+3
A:
It is the same message, but with a different argument - wparam = WA_INACTIVE.
Full details here.
Otávio Décio
2010-03-08 01:04:26
Could you kindly provide it?
Nick Brooks
2010-03-08 01:04:49
Oh , WA_INACTIVE
Nick Brooks
2010-03-08 01:05:24
+2
A:
The message is WM_ACTIVATE. This message is sent both when the window is activated, and when it is deactivated. You can tell if it is deactivated by looking at the wParam parameter - either it is WA_ACTIVE or WA_CLICKACTIVE (activated), or it is WA_INACTIVE (inactivated).
Andreas Rejbrand
2010-03-08 01:10:45