Thanks !!!!! Worked like a charm.
I do not even have to trap for the winEnterEvent because the screen will get redrawn once the currentActiveWindow is again equal to the handle of the correct window to be refreshing during the next refresh which happens every so often. Thanks again, Dave "Mark Smith" <[EMAIL PROTECTED]> wrote in message news:70240@palm-dev-forum... > > "DavidK" <[EMAIL PROTECTED]> wrote: > >I have an application that polls some sensors and displays the results on > >the screen in a continuous fashion. The sensors are on a robot that the palm > >pilot is controlling.. > > > >When the menu bar is active and a menu gets displayed it is overwritten by > >the screen underneath. > > > >What can I do about it? > > IIRC, a winEnterEvent is sent to the previously obscured form when > the menu is dismissed. Before drawing, call WinGetActiveWindow() > to make sure your window is on top. If not, set a 'dirty' flag, > then check for the flag and redraw when you get a winEnterEvent > on the form. > > -M- [EMAIL PROTECTED] > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
