How to use Get(Next)Window and GetWindowText?
Posted on 1997-07-25
I've tried to use the API functions GetWindow/GetNextWindow in combination with GetWindowText. Seamingly I can't do to much wrong with these functions, but I also can't get them working.
The purpose is to make a listbox that contains the names of all active applications (helping the user at start of the Setup of my program to close the apps that are currently running). Probably I can't get ALL the active applications this way (it would be nice to get the hidden applications as well. All the links listed in the Ctrl-Alt-Del window are enough).
If you know a way to do about the same thing as Ctrl-Alt-Del does to get the running apps in the window, please let me know. If I need something else then the above named API's, let me know as well, but please explain also how I can get them (the above named) working.
Thanks a lot in advance