>I started by selecting the active window which sends the program to the >proper dialog handler where the event and ID are acted on. but this >seems to leave one parameter on the stack so when the program should >hunker around HANDLEEVENTS it goes to doDialog instead, and messes >things up. This sounds like you have more than one dialog handler, which AFAIK is impossible. Or you have ON EVENT going to doDialog rather than ON DIALOG, which would be dispatching you there on any null events. Can you send an "outline" of your event handling stuff? No content necessary, just enough so we can trace the flow; include IF statements related to which-window, and the main event loop. Thanks! Bill