Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...it was ingeniously designed and all those clicks were for my own good... and that was even before I got my speedy and useful answer to my tekkie question that I eventually posted..."

Geography

Where in the world do Tek-Tips members come from?

Window Title - How do I find out the names of all the open windows?Helpful Member! 

emaduddeen (Programmer)
25 Aug 07 21:01
Hi Everyone,

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

Thanks.
Emad
Helpful Member!  ShankarJ (Programmer)
26 Aug 07 1:14
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
emaduddeen (Programmer)
26 Aug 07 7:38
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

ShankarJ (Programmer)
27 Aug 07 2:02
Hi Emad,

Check out the ABC Free Templates and Classes at :

http://www.authord.com/Clarion/

It has the functions to enumerate the Windows.

Regards
emaduddeen (Programmer)
27 Aug 07 8:08
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
ShankarJ (Programmer)
27 Aug 07 10:17
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

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close