Another aside...every time I display the about box, and then attempt the below, the 'other window' appears to be a different window after each invocation of the about box.
It's almost like the menus are being served as dynamic windows, being created and destroyed as needed, and they remain as the focused window, but only have having done a FrmDoDialog. Weird. -Ken On Thu, 2003-01-09 at 16:18, kcorey wrote: > Hi All, > > Got a bit of a strange situation, and was hoping someone could shed some > light on what might be going on here. > > My game starts up, loads its main form, and starts into the main event > loop. Click the menu silk button, and get appropriate Exit/Enter > events. Click it again, menu goes away, and the application gets the > enter into the main form's window so that the game can continue because > it detects the winEnterEvent back into the main window. > > Now, pull up the about box (displayed using FrmDoDialog), and then > dismiss it. > > Now, click on the menu silk, and tap it again to dismiss it, and some > other window is claimed as getting the enter/leave events from the menu, > so the game locks up, but only after having called another form using > FrmDoDialog. > > I've tried FrmSetActiveForm after the About box, and I've tried > FrmSaveActiveState/FrmRestoreActiveState to attempt to save the main > window as the one that's active around the FrmDoDialog, but no luck. > > (Below, I've gone into quite a bit more detail for those with strong > constitutions and morbid curiosity.) > > Any ideas what might be causing this? (and how I could get around it?) > > -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
