Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 03, 2016, 09:41:16 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Donate to Member
Looking for tool to identify windows controls on windows forms
« on: January 25, 2008, 10:04:23 AM »
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
    • View Profile
    • Donate to Member
Re: Looking for tool to identify windows controls on windows forms
« Reply #1 on: January 25, 2008, 01:18:40 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

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: Looking for tool to identify windows controls on windows forms
« Reply #2 on: January 25, 2008, 05:05:43 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,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Looking for tool to identify windows controls on windows forms
« Reply #3 on: January 26, 2008, 01:08:05 AM »
you could also try Winspector.

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: Looking for tool to identify windows controls on windows forms
« Reply #4 on: January 26, 2008, 01:29:01 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
    • View Profile
    • Donate to Member
Re: Looking for tool to identify windows controls on windows forms
« Reply #5 on: January 26, 2008, 03:26:20 AM »
WinID (not compatible with Windows Vista)

Control Spy v2.0 or from http://www.microsoft...6&displaylang=en

edit: added link
« Last Edit: January 26, 2008, 04:30:00 AM by PhilB66 »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,405
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Looking for tool to identify windows controls on windows forms
« Reply #6 on: January 26, 2008, 04:05:58 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
    • View Profile
    • Donate to Member
Re: Looking for tool to identify windows controls on windows forms
« Reply #7 on: January 26, 2008, 09:39:06 PM »
Analyzer is another option. Plenty of useful VB Tools on that Website.

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Donate to Member
Re: Looking for tool to identify windows controls on windows forms
« Reply #8 on: January 26, 2008, 09:44:07 PM »
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,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Looking for tool to identify windows controls on windows forms
« Reply #9 on: January 26, 2008, 10:13:13 PM »
so tinjaw, what tool were you using originally?

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Donate to Member
Re: Looking for tool to identify windows controls on windows forms
« Reply #10 on: January 26, 2008, 10:14:15 PM »
so tinjaw, what tool were you using originally?
Au3Info that comes with AutoIt.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Looking for tool to identify windows controls on windows forms
« Reply #11 on: January 26, 2008, 10:55:08 PM »
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: