开发者

Window deactivation message?

开发者 https://www.devze.com 2022-12-22 00:44 出处:网络
What is the opposite of WM_ACTIVATE (Window deactivation messa开发者_开发问答ge)?It is the same message, but with a different argument - wparam = WA_INACTIVE.

What is the opposite of WM_ACTIVATE (Window deactivation messa开发者_开发问答ge)?


It is the same message, but with a different argument - wparam = WA_INACTIVE.

Full details here.


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).

0

精彩评论

暂无评论...
验证码 换一张
取 消