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.
Is there anything similar on Windows Mobile? WM_ACTIVATE
cannot be used, as my application has multiple windows.
I need WM_ACTIVATEAPP
(or something similar), because I'd like to request/release some power-consuming resources (GPS, backlight etc) when app gets activated/deactivated.