--- Jason Wei <[EMAIL PROTECTED]> wrote: > As wrote in Palm Companion, I should create a > keyDownEvent with resumeSleepChr and command key > bit set and add it to event queue. But I don't > understand what is command key and how to put it > to event queue?
EventType theEvent; MemSet(&theEvent, sizeof(EventType), 0); theEvent.eType = keyDownEvent; theEvent.data.keyDown.chr = resumeSleepChr; theEvent.data.keyDown.keyCode = 0; theEvent.data.keyDown.modifiers = commandKeyMask; EvtAddEventToQueue(&theEvent); __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
