--- Christophe HOCMAN <[EMAIL PROTECTED]> wrote:
>   I'd like to know if it's possible to generate an event 
> such as the onethat appen when the user tap the "home" 
> sensitive button.  If it is possible How ?

Yes it is possible.  Use EvtAddEventToQueue().

For example:

  EventType newEvent;
  newEvent.eType = keyDownEvent;
  newEvent.data.keyDown.chr = launchChr;
  newEvent.data.keyDown.modifiers = commandKeyMask;
  EvtAddEventToQueue (&newEvent);

(This code taken from the Palm OS Programmer�s Companion.)


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to