Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Window Title - How do I find out the names of all the open windows? 1

Status
Not open for further replies.

emaduddeen

Programmer
Mar 22, 2007
184
US
Hi Everyone,

Can you tell me what code to use to see the names of all currently open windows in my app?

Thanks.
Emad
 
Hi Emad,

If you click on Window in the menu, you will see the name of the Window in focus on all the threads opened by your application. The best way to keep track of open windows is to maintain a Global Queue with the threads/windows open. There are Windows API's to find out open windows/application but I am not sure if it will help you with the threads of your application.

Regards
 
Hi ShankarJ,

Thanks for the reply.

When I ran the application, I looked at the Window on the menu I found the window name. I tried to use this name in a WindowsExists statement but it returned 0. Can you tell me what I did wrong?

I will look at the help on queues since I am not familiar with them.

Thanks again.
Truly,
Emad

 
Hi ShankarJ,

I am using you queue method to maintain a list of the windows.

Thanks.

I installed the abc free templates and looked around the web site but could not find the documentation. Do you have the documentation or know where I can download it?

From the descriptions it has a lot of stuff that I would like to try.

Truly,
Emad
 
Hi Emad,

I Do not use ABC Free extensively but I do not think there is documentation. The best way to understand it is by studying the Templates and Classes.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top