C
csshelton70
Hopefully, someone can help out:
I'm working on a program to close a specific application after X
minutes of inactivity. I have all of the code working to identify the
main window and close it, but I'm having an issue identifying when any
other secondary window other than the main window of the program is
open. These secondary windows do not have a standard naming convention
( so I cannot search by name) , nor do they show up as having the main
window as their owner or parent (so I can't just check to see if it's a
child window). I'm hoping someone that knows more of the windows API
can make a suggestion how to identify these secondary windows as
belonging to that app.
Thanks.
I'm working on a program to close a specific application after X
minutes of inactivity. I have all of the code working to identify the
main window and close it, but I'm having an issue identifying when any
other secondary window other than the main window of the program is
open. These secondary windows do not have a standard naming convention
( so I cannot search by name) , nor do they show up as having the main
window as their owner or parent (so I can't just check to see if it's a
child window). I'm hoping someone that knows more of the windows API
can make a suggestion how to identify these secondary windows as
belonging to that app.
Thanks.