That works. Thanks. By the way, I'm a newbie (if you hadn't noticed
yet). Csn you tell me what the graphics update function is?

Cheers
Jeff


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim
Kostka
Sent: 18 April 2004 02:16
To: Palm Developer Forum
Subject: Re: Menu event and Draw event


What's causing the menu to disappear?  Are you calling FrmDrawForm or a
similar function?  If this is the case, and you don't need to visually
update the form while the menu is up, you might want to call the
graphics update function only when the menu isn't up.

This is what I use to detect the menu.  There's an article somewhere on
how to detect when it is up, if you want to search around for it.

menuUp = WinGetActiveWindow() != FrmGetWindowHandle(FrmGetActiveForm());

-- 
Tim Kostka
http://www.nuprograms.com


"Jeff Leal" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi again,
>
> I have a custom event that refreshes a form every second. However, 
> because of this, if I press the menu button the menu will atmost be 
> displayed for one second. How can I maintain the menu displayed? Do I 
> have to kill the custom event handler, while handling a menu event?
>
> Cheers
> Jeff
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to