Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Get subclass information (winapi)

Posted on 2011-02-28
1
Medium Priority
?
336 Views
Last Modified: 2012-05-11
Attached is an screenshot of the WinSpy++ application. I want to create an app to help me monitor how much time I spend on certain things. It would be good to monitor how much time spent per VS project, and per file in the project. It would also be good to monitor things like how much time I spend researching etc, but no need to comment on that. I'm more concerned about the below.

In the screen shot you can see I've got my VS2010 window, and two children deep is a node saying 000A083C GenericPane "Delivery.ascx". What you cannot see is that at the same tree level, there are 3 other 'GenericPanes' called "Properties" "Solution Explorer" and "DocumentOutline". If you're familiar with VS then you'll recognise them.

I would like to know the API used to get to "Delivery.ascx" pane - more specifically, get to the text "Delivery.ascx". If that cannot be done, then it would be good to at least get the list of all the panes (I can hard code it to ignore the other three panes).

Any help appreciated.
WinSpy.jpg
0
Comment
Question by:KiasChaos83
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
parnasso earned 2000 total points
ID: 35004726
I think the two API calls you need are GetWindowText and EnumChildWindows.
GetWindowText  is for retrieve the text for every window (like "Delivery.ascx")
here you have the documentation http://msdn.microsoft.com/en-us/library/ms633520(v=vs.85).aspx

EnumChildWindows might be usefult for you get every window of your tree, here is a link to an example>

http://support.microsoft.com/kb/183009

I hope this is helpful
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
Windows 10 Creator Update has just been released and I have it working very well on my laptop. Read below for issues, fixes and ideas.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question