I have an application named ProLaunch.exe. I want to get the active window in it and close it, if the user is not performing any operation with the application for a specified period. A timer in the application will be used for this purpose.
The window will need to be closed only if it is not derived from a particular base class
How can I get the active window and close it?
hh