开发者

Window deactivation message?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜