View Full Version : WM_HIBERNATE
paulzazzarino
06-09-2004, 05:40 PM
If your app has an icon on the toolbar it is supposed to handle hibernate messages. After your app frees up resources can it post a WM_ACTIVATE to keep itself alive or does CE/Mobile shut it down anyway?
Kowalski
06-12-2004, 06:33 PM
The application leaves this state either by receiving a WM_ACTIVATE message, in which case it is the application’s responsibility to attain the state it was in before the hibernate, or by getting a WM_CLOSE message, in which case the application will exit properly.
this is taken from MSDN. i didnt have the time to try but what i understand is that the program has the opportunity to send a WM_ACTIVATE message to keep itself alive. but this came confusing to me about the message description
This message is sent to an application when system resources are running low
paulzazzarino
06-14-2004, 03:12 PM
actually i found more information at
http://www.cegadgets.com/wincedevfaq.htm#WM_HIBERNATE
this is kind of anoying if true, i am now running tests, but apparently you first get a hiberate, then a wm-close, and finally a process termination.
vBulletin® v3.8.9, Copyright ©2000-2019, vBulletin Solutions, Inc.