I did spend quite a while trying to find an answer before posting here but I didn't see any reference to the problem I seem to be having. It might well be that I didn't put in the right words to search for of course. I'll try to narrow down the problem I have. The specific problem I have is with the 'Command:' bar appearing because of a menu shortcut stroke (PalmOS 3.1 specifically) and being unable to determine if it has. I've tried checking if the currently active window is the window I'm drawing in, and it always seems to be the case even with the bar visible. I've tried calling MenuEraseStatus(0) before drawing but the bar is not removed. This is only a problem with PalmOS 3.1, from 3.5 on it's OK. If you can find the thread that apparently dealt with this a few weeks back in the archive, I would be grateful - equally if you can answer here I would also be grateful.
Thanks. Laurence Mee. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steve Mann Sent: 16 December 2001 18:52 To: Palm Developer Forum Subject: RE: Detecting menu events in PalmOS 3.1 >Thanks for that. I didn't realise that the winExit/EnterEvent came in pairs >like that for the menu. >I'm testing this on the Palm Emulator with a 3.1 ROM and a PalmV look. >When I use the shortcut stroke a Command: box appears at the bottom of the >screen (for about 2 seconds). >This doesn't cause a winExitEvent/winEnterEvent pair but it does sit over a >place on the screen that I am redrawing. >Is there anyway I can detect that it has appeared? There was a thread about not drawing when menu and command boxes were visible a few weeks ago. You might want to check the archives. I believe the upshot of it was that both menus and the command bar have their own windows, and you can check the active window somehow to see if it's yours. If so, you draw. If not, you wait. Regards, Steve Mann -- 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/
