I guess it is a Palm OS bug then because I tried using resource ID=0 and I stepped through the debugger and saw it got executed. But when I tap on the menu, the menu bar still get popup up.
On Mon, 14 Jan 2002 10:43:57 +1100, Michael Glickman <[EMAIL PROTECTED]> wrote: > >That's true. >You can trap return 'true' after frmTitleSelectEvent (for PalmOS 3.5+) and >keyDown event with chr = vchrMenu to prevent from menu toi appear. > >But it should be OK with resource ID=0. >In PalmOS reference guide (SDK 4.0) we can read (page 263): > > menuRscId ID number of a menu bar to use if the form > has a menu, or zero if the form doesn�t have a > menu. > >I assume that FrmSetMenu just updates menuRscId item in FormType, while the >documentation is not clear about that. Can you check if menuRscId is cleared >after FrmSetMenu(..., 0) ? >It not, it might be a PalmOS bug. > >Michael > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
