My code is strucutured like so. Multiple forms, one eventHandler. frmLoad: Delete the oldForm if needed (remember, there is no call to FrmClose when changing forms). Initialize the form If first time, draw the dialog border on the screen. frmOpen: FrmDrawForm the forms have no border with them. Upon a form change, I do the following: WinEraseRectangle to erase the section inside the borders. FrmPopupForm(nextForm) In order to prevent the noticeable refresh on a colour display, I do not call FrmEraseForm, but just erase the area surrounded inside the border. This saves me the problems of having to redraw the border. (Even if I did not erase the form, but redrew the border, it is noticeable. Seems the colour displays still do some sort of erasing before drawing again. One can see the scanline effect when it's a large block of the display) Now the ROM will pop up a dialog telling me to call FrmEraseForm before the FrmDeleteForm. I could not find this requirement in the Reference guide. Also, I thought FrmSetActiveForm made any calls to WinSetDrawWindow unecessary, but that's not the case. Sometimes, the ROM will blow up on calls to draw on the window if I do not call WinSet... before it. What's happening? Can I safely ignore the FrmEraseForm message? thanks. - Darren Lee Ang -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
