>I have found that when an application goes TO the background a dialog value >of _MFCLIPBOARD is sent when you zero the clipboard before going to the back. > I thought this value would only be sent when resuming or comming to the >front was done? This way you can never get a correct value of gInBackground. > Is this a bug or am I using the dialog events and variable gInBackground >wrong? > >David The clipboard event is one of two messages that tell your application that it is about to be switched. Best, -STAZ ~)~ 800.348.2623 Orders http://www.stazsoftware.com 228.255.7086 FAX mailto:staz@...