How am I supposed to tell if a menu is visible? In the new Update 1 for
Palm OS 4.0 development, we are no longer supposed to access the
internals of structures. Certain documentation says to use PalmOSGlue,
but there doesn't seem to be anything there to do this. The Palm OS
Reference *still* says to do it the following way, which doesn't work
under 4.0 (unless I turn off the checking):
>From Page 344 of the Palm OS Reference:
myMenu = MenuGetActiveMenu();
if (myMenu && myMenu->attr.visible) {
// menu is visible
}
No longer can we perform a myMenu->attr.visible. Are there
PalmOSGlue routines that are capable of accessing this member
of the menu attributes structure?
Thanks,
Brad Myers
Jake Wobbrock
CMU
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/