RE: How to detect if a menu is open

2004-11-10 Thread Robert Moynihan
You need to look for winenter and winexit events to see if something else (the menu) is active on the screen. If so, you stop drawing. -- RA Moynihan Sent from my Treo -Original Message- From: Tam Hanna Date: 11/10/04 1:25 pm To: Palm Developer Forum Subj: How to detect if a menu is

Re: How to detect if a menu is open

2004-11-10 Thread Tim Kostka
An easy way to do this without using globals or flags is to check if the current window is the active form's window when you want to draw something. If they are not the same, don't draw to the screen. I found this easier and just as effective as trapping winEnter/winExit events. Cheers, Tim Ko

Re: How to detect if a menu is open

2004-11-11 Thread Tam Hanna
Hi, thank you all for the response. Best regards Tam Hanna -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/