Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Jul : How can I return some constant identifer (maybe form name) for another win32 app
| Subject: | How can I return some constant identifer (maybe form name) for another win32 app |
| Posted by: | "M Tuttle" (mik..@softtechks.com) |
| Date: | Mon, 11 Jul 2005 10:12:22 |
Greetings All,
I need to be able to click on the title bar of any win32 application window
visible on my desktop(does not matter what was used to develop it. Could be
Visual Basic, Visual Foxpro, C++, Delphi, etc.) and return some constant
identifier that will always be the same, every time the window is clicked
on.
Currently I am able to get the handle of the window and the caption of the
window, but as you know the window handle will never be constant so that is
out and the caption of the window I can get as well, but it may not be
constant as some developers will change the caption of the window based on
the record currently showing.
So my question is, does someone know what I can use to return the name of
the form, so if I clicked on a Delphi form then this would be "Name" and
would return "form1", or any other alternative to uniquely and consistently
identify a window.
Any tips truly appreciated.
--
Michael Tuttle
Software Technologies, Inc.
Topeka, KS