Have you tried FrmDoDialog? It has its own event loop.
Calling any sort of UI code from inside EvtGetEvent is dangerous. Following the general rule of "what does the OS do", you'll see that often if the OS detects a situation that it wants to handle with popup UI, it sends a virtual character that then gets caught by SysHandleEvent and causes an action. SysHandleEvent isn't magic -- its just a whole lot of event handlers that provide common system behavior, and it runs at a time when the UI is available, unlike EvtGetEvent. Therefore, I think the original poster needs to override both EvtGetEvent and SysHandleEvent to get proper.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
