See my week-old message with same problem.

This is a known PalmOS 3.5 bug that has been fixed in 4.0
That explains why m505 works OK, while Palm Vx doesn't.

Michael


 

-----Original Message-----
From: Keith Ko [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 20 November 2001 4:05 PM
To: Palm Developer Forum
Subject: Problem of dynamic menu


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/

-- 
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