![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi! I am writing my very first Application for a Cell phone. I am also struggeling to write it so it meets Microsofts demand for a "True" Mobile application. I need to hook the WM_HIBERNATE message, and i just cant figure out how. I cant find it in the compact framework. Do i have to import it from a DLL? Any suggestions, links would be greatly appreciated. Regards Martin |
#3
| |||
| |||
|
|
Why do you feel you need to hook this message? For most cases, the CF itself will handle this by calling GC.Collect when it sees the message. It's not "imported" from anywhere. It's simply a defined constant that can be found in the SDK headers (probably winuser.h if I were to guess). -- Chris Tacke, eMVP Join the Embedded Developer Community http://community.opennetcf.com "Martin" <makungsbacka (AT) hotmail (DOT) com> wrote in message news:C1FFA714-A780-4D2F-A42D-FD4FB8ADA57B (AT) microsoft (DOT) com... Hi! I am writing my very first Application for a Cell phone. I am also struggeling to write it so it meets Microsofts demand for a "True" Mobile application. I need to hook the WM_HIBERNATE message, and i just cant figure out how. I cant find it in the compact framework. Do i have to import it from a DLL? Any suggestions, links would be greatly appreciated. Regards Martin |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |