Hey - that's not a bad workaround.
I prefer not to call the OS every frame unless I have to, but certainly once you've received the event that it has been raised, you could check each frame until the window bounds are back to 'normal'! Nice one, Evan! Howard. -- Howard Tomlinson - [EMAIL PROTECTED] Games Designer, Astraware Ltd. - http://www.astraware.com/ Games for Palm: http://www.astraware.com/palm/ > -----Original Message----- > Sent: 15 November 2001 01:57 > To: Palm Developer Forum > Subject: Re: screen refreshig messes up menu when selected > > > <throwing in my .02$> > > I have a rather hackish way of detecting a menu: > look at the window bounds of the active window. If you know that your > regular window is 160x160 (yeah, not a guarantee; that's why this > is a hack! > ;) ) delay the update. > > psuedo code: > -get active window bounds > -usual event loop > -if not delay or delay and not an update > -FrmDispatchForm( ) > -if active window proper sized kill delay > > Put this code in your event loop and delay all updates (frmUpdateEvent and > the like) until you get back to the window size that tells you where you > are. > > I have found this works with popup lists and menus (in all ways of popping > up) with no problems. > E/. > ________________________________________________________ > This message sent using the Infowave Wireless Business Engine(tm) > > Evan Wise -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
