On 07-Mar-00 Gordon, Douglas wrote:
> I have a form where, in addition to standard controls, I draw a couple of
> lines when the form is initialized. This worked OK up to 3.3. On 3.5 I
> notice that whenever a dialog pops up over my form (even system-controlled
> alerts, etc.), when the dialog is removed my form is restored except for
> the drawn lines. I checked, and in the event handler for frmUpdateEvent I
> do call my function that draws the lines.
You need to handle the FrmDrawForm() yourself, and therefore return true so
that PalmOS doesn't do it afterwards. In other words, frmUpdateEvent is
called prior to the normal handler which does a FrmDrawForm() which will
erase the screen first.
case frmUpdateEvent:
frm = FrmGetActiveForm();
FrmDrawForm(frm);
DisplayFooter(true); /* my routine that draws stuff */
handled = true;
break;
/* Chris Faherty <[EMAIL PROTECTED]> */
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html