How do I read data under the cursor in Windows?
Posted on 2005-04-20
When you have no access to an application written in Windows, there may still be a need to "read" information under the cursor. Of course, the data is in pixel form and would need to be converted to character format when the cursor is not over a picture.
I have noticed that there are a few applications that can "magnify" the pixels under the cursor within their application (such as SnagIt! from TechSmith. I recall several other programs that create a "magnifying glass" as a cursor to "Zoom in" while using a floating cursor.
My goal is to create an application that remains external to any specific Windows application, but has the capability of "grabbing" a block of pixels when the right mouse button is used. (if the application uses the right mouse button, I may need to find a way to activate the "grab" function some other way).
Anyone a detailed Windows person that can help me create the "cursor capture" function?