>I just realized that my program might be doing things while in the >background that it should not be doing. What I mean is that you >should be able to determine that your program is not the fore most >application after it receives the _suspend dialog event (sp?), right? > >What are things you should not do after that? > >I had a cursor call, that can't be good, right? = >Michael Kluskens <mkluskens@...> What I do is Case _MFEvent // or whatever that one is Select Case ID Case _MFSuspend gInFront = _False Cursor _ArrowCursor // good idea just in case Case _MFResume gInFront = _True End Select Then key any cursor changes or other actions in an event loop to only work when gInFront = _True. I was, in one program before I realized it, changing the cursor even when in the background. Not cool. :) Seems to me you can do whatever you want when in the background, as long as you leave time for the other apps of course. rc