I have to deal with a nasty MS Windows application that quits doing its job as soon as it loses focus. My question is, how can I trick this application somehow to believe that it is still in focus, although it really is not?
My thoughts are:
Sending the WM_ACTIVATE message works for some apps:
SendMessage(hWnd, WM_ACTIVATE, WA_CLICKACTIVE, hWnd);
Leaving the last parameter as NULL might work too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With