Search Tools Links Login

Color Spy Exampe w/ Zoom


Visual Basic 6, or VB Classic

This is an exampe of a simple "color spy" that gets the RGB values and HTML color code of the pixel under the mouse cursor. It also adds a small zoom window with a crosshair so you can easily choose the color you want.



Example uses various API's for getting the pixel color, mouse position, and drawing the zoomed view of the screen.



Code is based on examples by Plastik (http://www.dosfx.com/~plastik/vb.htm) and Rocky Clark

Original Author: Chetan Sarva

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 113 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD61035252000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 9,953 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.