RE: Trapping Sleep Mode

2001-08-21 Thread Andrea
Thanks a million. -Original Message- From: Gavin Maxwell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 4:15 PM To: Palm Developer Forum Subject: RE: Trapping Sleep Mode This comes direct from Memo Pad source... // To register do something like this err

RE: Trapping Sleep Mode

2001-08-21 Thread Gavin Maxwell
pe*)cmdPBP)->notifyType == sysNotifyLocaleChangedEvent) { // Do something here } } Cheers, Gavin. -Original Message- From: Andrea [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 5:50 PM To: Palm Developer Forum Subject: RE: Trap

RE: Trapping Sleep Mode

2001-08-21 Thread Andrea
Hi Gavin, Sorry to bother... can i have some examples on calling SysNotifyRegister? -Original Message- From: Gavin Maxwell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 3:44 PM To: Palm Developer Forum Subject: RE: Trapping Sleep Mode Nope - that won't work. You

RE: Trapping Sleep Mode

2001-08-21 Thread Gavin Maxwell
Cheers, Gavin. -Original Message- From: Andrea [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 5:21 PM To: Palm Developer Forum Subject: RE: Trapping Sleep Mode Hi Gavin This is how i check for Sleep Mode. I am unable to get into the case. static void AppEventLoop(void) {

RE: Trapping Sleep Mode

2001-08-21 Thread Andrea
DispatchEvent(&event); } while (event.eType != appStopEvent); } Please advise. Regards, Andrea -Original Message- From: Gavin Maxwell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 2:52 PM To: Palm Developer Forum Subject: RE: Trapping Sleep Mode There are virtual character

RE: Trapping Sleep Mode

2001-08-20 Thread Gavin Maxwell
There are virtual characters posted when the device is about to enter sleep mode. vchrAutoOff is the one you're after most likely, or vchrPowerOff, or vchrHardPower (user pressing power button) If you are running on a device with the Notification Mgr (OS 4.0) you can register for these instead