--- Robert Purcell <[EMAIL PROTECTED]> wrote: > > The problem is that the handler routine starts > drawing BEFORE the OS has removed the pop-up > shortcut bar at the bottom of the screen. So, > my routine starts drawing on top of the pop-up > bar. When the OS finally removes the pop-up > bar, it also removes the bitmap data that > my handler just drew. > > My solution was to introduce a small delay > before my handler starts drawing to the screen > to give the OS time to remove the pop-up bar > from the screen. This works perfectly, > but I don't want this delay unless the user > selects the menu option via shortcut 'U'. >
So, intercept vchrCommand or chrCommandStroke, then insert your delay (through nil-events in the event lopp, I assume). There was a thread about this that had more details at http://www.escribe.com/computing/pcpqa/m51603.html and another related thread about verifying when it's ok to draw after the command bar pops up at http://www.escribe.com/computing/pcpqa/m49750.html __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
