I have to construct a dynamic menu in my application.
In response to "menuOpenEvent", I call "MenuHideItem" to hide a
menu item, and "MenuShowItem" to display a menu item.
I try these functions in PalmVx debug roms (OS3.5) and Palm m505 debug roms
(OS4.0) in emulator,
I found that my dynamic menu can only work properly Palm m505 debug roms
but not in PalmVx debug roms.
in the case of PalmVx debug roms, the item can be show properly.
but when i try to access any items in menu for further actions,
It hang up.
switch (eventP->eType)
{
case menuEvent:
return MainFormDoCommand(eventP->data.menu.itemID);
case menuOpenEvent:
MenuHideItem (ModeSleep);
handled = true;
break;
case frmOpenEvent:
:
:
FrmDrawForm ( frmP);
handled = true;
break;
:
:
Please help me in advance.Thank you
Keith
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/