--- Gert-Jan Vons wrote: > > I'm having a problem with a dialog, the > insertion point continues to blink > on the screen even when the dialog > has been removed. > ... > prevForm = FrmGetActiveForm(); > frm = FrmInitForm(PrefsForm); > FrmSetActiveForm(frm); > FrmSetEventHandler(frm, MyHandleEvent); > FrmDrawForm(frm); > ... > button = FrmDoDialog(frm);
This doesn't look right to me. FrmDoDialog() draws the form, so I think you are drawing it twice. Instead of FrmDrawForm() to set up the draw window, try using: WinSetDrawWindow( WinGetActiveWindow() ); after FrmSetActiveForm() and before drawing anything. __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
