http://www.palmos.com/dev/support/docs/palmos/PalmOSReference/Menu.html documents the internal structured of menus OS2 - OS 4
for os5 it is mostly the same, but in little-endian. you are free to edit the structure directly. PalmOS has no problems with this at all. OR You can make two menu objects one with "connect..." and other with "disconnect..." menu items in the same place and use FrmSetMenu() to toggle between them. This is the only officially supported way of doing this i believe. On 9/30/06, Luc Le Blanc <[EMAIL PROTECTED]> wrote:
I have a "Connect GPS" menu item that I would like to toggle to "Disconnect GPS" once the GPS is connected (I would be equally happy to use a checkmark along with a "GPS Connected" item if that was possible). Alas, a menuOpenEvent is only sent the first time the menu is shown, thus defeating the idea. Any trick? I chose a menu because the form has no room left for a button. I could also use the MenuCmdBarAddButton, but that requires PalmOS 3.5, while I support down to 3.0. Luc Le Blanc -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
-- Best Regards, Dmitry Grinberg Software Engineer, http://PalmPowerups.com (847) 226 9295 AIM: DmitryGrinberg MSN: [EMAIL PROTECTED] ICQ: 165589894 Y! IM: dmitrygr2003 -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
