Thanks for your suggestion.
I have had success using WM_ACTIVATE
>You might want to look at binding Windows messages WM_KILLFOCUS and WM_ACTIVATEAPP.
>
>These Windows messages fire when clicking In/Out of the application.
>
>Best Regards
Jim Nelson
Newbury Park, CA