|
Posted by Jim Watt on August 10, 2007, 9:00 pm
If you were Registered and logged in, you could reply and use other advanced thread options On Fri, 10 Aug 2007 19:28:42 +0100, Tim Jackson
>Jim Watt wrote:
>> Anybody know of a tool which can identify the
>> resource name of a window on a desktop eg by
>> dropping a cursor into it?
>>
>> Much have I googled to no avail ...
>> --
>> Jim Watt
>> http://www.gibnet.com
>
>You can track the registered class name and handle number of the window
>that currently has focus, using Borland's WinSight.
>
>This utility shipped with their Windows C++ and Pascal compiler packages
>back in the '90s, (now distributed under the name codegear.com). I dare
>say it or something like it is still around in more recent incarnations,
>but that is the one I have on my system. I don't know of any way of
>obtaining it separately.
>
>I've used it a few times to build 'driver' programs that take control of
>a commercial application by issuing mouse click and other events to its
>windows, thus allowing my program to effectively run the application as
>a task without having to rely on the availability of command line
>parameters.
>
>
>Tim Jackson
>www.tim-jackson.co.uk
Thanks for that, on checking it comes with Delphi5 too
However, it does not give me the window name. I want to
do exactly what you describe.
--
Jim Watt
http://www.gibnet.com
|