How can I check if the focus is on a specific window(program).
My program should do something only if the focus is on notepad. If the focus is on something else it should do nothing.
So.. I have the PID and the image name of the progam to check... but i don't know how to validate it..
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!