Class & Text Spy
How to view the Class name and Text of any window.
Uses a Timer to retrieve the mouse position and the window handle beneath the mouse. Displays the window handle, class name, and text (if any).
About this post
Posted: 2017-06-13
By: BlackBeltVB
Viewed: 483 times
Categories
Attachments
CLASSSPY.ZIP
Posted: 6/13/2017 10:29:44 AM
Size: 1,761 bytes
Requirements
This code originally appeared on BlackBeltVB.com, and has been republished here with the permission of Matt Hart.
Special Instructions
- GetCursorPos
- GetClassName
- SendMessage
- WM_GETTEXT
- WM_GETTEXTLENGTH
- WindowFromPoint
Comments
No comments have been added for this post.
You must be logged in to make a comment.