Hi all.
 
I have the need to write a wee app. that works a bit like Spy++ that comes with Visual Studio. With that, you can put the puse cursor over a control on an application, and it returns the name and the class of the control. I can use spy++ as I need to build a list of the classes as I find them.
I have found 2 API calls called GetClassName and GetClassInfo, and GetClassName works, but I am not sure how to work it in with where the mouse is etc.
I remeber seeing some code that showed you how to access the class of an object at runtime, just the other day, but I cant remember WHERE I saw it.
 
If anyone knows where this code is, or how I can do the above, can they let me know please.
 
Jeremy Coulter (manager)
Visual Software Solutions

145 Langdons Road
Christchurch
ph +64 3 3521595
fx +64 3 3521596
cell +21 2533214
http://www.vss.co.nz
 

Reply via email to