Windows security

Windows security

Secure Home | Search | About
 Computer Software Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Windows security Jim Watt 08-10-2007
Posted by Jim Watt on August 10, 2007, 12:13 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
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

Posted by Tim Jackson on August 10, 2007, 2:28 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
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

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

Posted by Tim Jackson on August 11, 2007, 4:48 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Jim Watt wrote:
> 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?
>>>

>> You can track the registered class name and handle number of the window
>> that currently has focus, using Borland's WinSight.
>>

>>
>> 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
>
> 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.
>

It gives you the window class name in curly brackets and title
(caption), if any, in quotes. These are what you need to give
FindWindow() to retrieve the handle. It also gives in block caps the
name of the process (usually the executable file name).

Use FindWindow() to find the application main window on the desktop.
Once you've got that, navigate child windows either by FindWindowEx(),
or by EnumChildWindows(). You can identify unnamed child windows (eg
controls in a dialog) by their relative coordinates. Then take control
of the controls using PostMessage() to send a BN_CLICKED or some such.


Tim

Posted by nemo_outis on August 11, 2007, 12:37 pm
If you were  Registered and logged in, you could reply and use other advanced thread options

> 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 could try spy++ (real name: spyxx.exe - comes with visual studio) or
winspector.

See, for instance:

Using Spy++ to Discover a Window Class Name
http://support.citrix.com/article/CTX103137

Regards,

Similar ThreadsPosted
Windows xp security March 1, 2006, 7:23 am
Windows security after recovery? August 2, 2005, 9:31 pm
OpenSSH Windows Security August 2, 2006, 4:26 pm
Windows XP Security Center April 19, 2007, 5:41 am
Security Update for Windows XP (KB912919) January 5, 2006, 9:17 pm
Last minute security rollout for Windows 2000... June 29, 2005, 1:09 am
New IP based security hole in Windows 2000 (yet again) August 4, 2005, 10:01 pm
Re: Security feature in Microsoft's new Windows (Vista) could drive users nuts May 16, 2006, 11:05 pm
Nice software for windows audit and Oracle database security issues April 14, 2008, 1:01 am
windows firewall April 17, 2006, 8:53 pm

The site map in XML format XML site map

Contact Us | Privacy Policy