![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Hobbyist Programmer
Join Date: Mar 2005
Location: United States
Posts: 124
Rep Power: 4
![]() |
Search for and close open windows
I am looking to modify a program that I finished some time ago. It searches for and deletes place holder files for a terminal emulator. Although for it to work properly, all open terminal windows need to be closed. As of right now the end user is being prompted by a message box to make sure they close any open windows before continuing. I was wondering if there is a way to have the program look when it is first started to see if there are any open before allowing the rest of the program to run. I would like it to detect the windows, prompt the user about them, and close the windows if the user clicks Continue, or let them do it manually and close my program if they click cancel. If so, what functions/methods should I be researching to do this?
Any help is greatly appreciated -BB98 **Edit: Guess I should include that this is for a Windows based system.
__________________
Learning to use C++ and loving every minute of it. |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|