DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Looking for tool to identify windows controls on windows forms  (Read 12,840 times)

tinjaw

  • I'm so glad breakbeat techno isn't an illegal drug
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Military Service Badge - US Army
    • Linux User
I am currently using Au3Info that comes with AutoIt. It almost does what I need. It will identify the control I have my mouse over, but it doesn't seem to pick the proper control. For example, I am looking to grab some text, but when I am over the text it is giving me information that appears to be for the parent control. I am thinking that if I could run a program that gives me a full tree view of all the controls in a form, it would give me what I need.

I assume there are tools for AHK. Any that you like.

I know that Visual Studio has a utility to view windows messages, does it have one to find controls?

patthecat

  • Member
  • Joined in 2006
  • **
  • Posts: 88
Re: Looking for tool to identify windows controls on windows forms
« Reply #1 on: January 25, 2008, 07:18 PM »
Don't know if this would help specifically in your case but give it a shot:
Nirsoft's SysExporter (http://nirsoft.net/utils/sysexp.html)

It shows you info on "the data stored in standard list-views, tree-views, list boxes, combo boxes, text-boxes, and WebBrowser/HTML controls from almost any application running on your system".

Ehtyar

  • That News Guy
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • Plugin Coding Medal
    • Gathering Badge
Re: Looking for tool to identify windows controls on windows forms
« Reply #2 on: January 25, 2008, 11:05 PM »
Interestingly enough, the tool i believe you're looking for also comes from NirSoft: WinExplorer.

Ehtyar.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Looking for tool to identify windows controls on windows forms
« Reply #3 on: January 26, 2008, 07:08 AM »
you could also try Winspector.

Ehtyar

  • That News Guy
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • Plugin Coding Medal
    • Gathering Badge
Re: Looking for tool to identify windows controls on windows forms
« Reply #4 on: January 26, 2008, 07:29 AM »
you could also try Winspector.
I lost faith in it just recently, because it doesn't seem to work on vista :( And no updates it seems :S

Ehtyar.

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
« Last Edit: January 26, 2008, 10:30 AM by PhilB66 »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Looking for tool to identify windows controls on windows forms
« Reply #6 on: January 26, 2008, 10:05 AM »
Krichmar Kobi's Spy+capture?  http://www.kobik.net/spy_capture.asp
But it's old so i guess if the others dont work with windows this one might not either..

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
Re: Looking for tool to identify windows controls on windows forms
« Reply #7 on: January 27, 2008, 03:39 AM »
Analyzer is another option. Plenty of useful VB Tools on that Website.

tinjaw

  • I'm so glad breakbeat techno isn't an illegal drug
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Military Service Badge - US Army
    • Linux User
Re: Looking for tool to identify windows controls on windows forms
« Reply #8 on: January 27, 2008, 03:44 AM »
OK, it turns out I was already using the tools I needed just fine. The issue is that labels in VB6 Labels do not have a Handle of their own, these are Owner Drawn Control. Hollow found me some VB code to get labels if they are on a Form the actually looked at heap memory. The ones I need access to are on a Frame. So I am currently SOL. But I have a toolbox of cool new tools. :)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Looking for tool to identify windows controls on windows forms
« Reply #9 on: January 27, 2008, 04:13 AM »
so tinjaw, what tool were you using originally?

tinjaw

  • I'm so glad breakbeat techno isn't an illegal drug
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Military Service Badge - US Army
    • Linux User
Re: Looking for tool to identify windows controls on windows forms
« Reply #10 on: January 27, 2008, 04:14 AM »
so tinjaw, what tool were you using originally?
Au3Info that comes with AutoIt.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Looking for tool to identify windows controls on windows forms
« Reply #11 on: January 27, 2008, 04:55 AM »
so tinjaw, what tool were you using originally?
Au3Info that comes with AutoIt.

i just noticed that you've mentioned that in the first sentence in the first post. sorry, must have had too much coffee. :drinksmiley:

Original address: https://www.donationcoder.com/forum/index.php?topic=12001.0