or u can call
MenuBarPtr MenuGetActiveMenu (void)
This function returns the Ptr to the currently active menu and NULL if no
menu is displayed.
then u can use
MenuDispose (MenuBarPtr pMenu)
to dispose of the Menu
Hope this solves the problem
Otherwise you can also go and comment the line in the eventloop for
MenuHandleEvent
that would disable any menu's that might pop up
:-D
kunal

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Shaikh
Khurram Saghir
Sent: Thursday, September 13, 2001 1:05 PM
To: Palm Developer Forum
Subject: Re: How to turn off menu


Every form contains the ID (menuRscId) of the associated menu with it. You
should patch Frm DrawForm ISR whenever the user calls FrmDrawForm make that
ID zero before calling the original Trap . That's it no Menu will ever popup
:-D

Regards,
Khurram+


----- Original Message -----
From: Mike McCollister <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Wednesday, September 12, 2001 7:09 PM
Subject: How to turn off menu


> Hi,
>
> I have a hack that might come up when a menu (any menu
> in any applicaiton) is up.  Well, this is causing some
> problems.  I'm wondering if anyone knows how to detect
> that that menu is up, and if it is to make it go away.
>
> Any help is greatly appreciated.
>
> Thanks,
>
> Mike McCollister
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
Messenger
> http://im.yahoo.com
>
> --
> 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/


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