There s WM_ACTIVATEAPP
message on "desktop Windows":
Sent when a window belonging to a different application than the active window is about to be activated. The message is sent to the application whose window is being activated and to the application whose window is being deactivated.
视窗移动是否有类似之处? WM_ACTIVATE
不能使用,因为我的申请有多个窗口。
我需要<条码>WM_ACTIVATEAPP(或类似内容),因为我愿意要求/请一些耗电资源(GPS,背光等),然后才能启动/启动。