Hi all,

MenuHandleEvent in my app refuse to work! I assume that whenever there's a
pentap on the menu silkscreen button, MenuHandleEvent is supposed to convert
the keyDownEvent into a menuEvent right? However, when I do a source-level
debug, the event simply passed right thru MenuHandleEvent unhandled. What's
the problem here? I'm using the plain-vanilla eventloop here, no
modifications made (attached below for reference). Can anybody please help?
Or is my knowledge of MenuHandleEvent flawed??

Regards,
Gee.

**** attached code ****

 do {
  handled = false;
  EvtGetEvent(&event, evtWaitForever);

   if (! SysHandleEvent(&event))
    if (! MenuHandleEvent(0, &event, &error))
     if (! AppHandleEvent(&event))
      FrmDispatchEvent(&event);

 } while (event.eType != appStopEvent);



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

Reply via email to