In VFP8 you'll have to use a timer + Windows API to check if your application is the foremost window.
>Anything for VFP 8.0? I take it that by you posting this, there is no "easy" way in VFP 8.0 other than getting down and dirty setting flags and using MouseMove, etc? I was afriad of that, think that what I needed was a better hook into the Windows application events. I appreciate the help, though!
>
>>In the Solution Samples go to New in Visual FoxPro 9.0, click on Binding to Windows >Message events and select application activation.
--sb--