The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: hutch-- on April 05, 2010, 11:00:02 AM

Title: Matching toy for color capture.
Post by: hutch-- on April 05, 2010, 11:00:02 AM
With thanks to Edgar and oex for the suggestion on GetPixel(), here is the complimentary toy that samples any point on the screen and stores its colour as COLORREF hex.

Get the improved version below.
Title: Re: Matching toy for color capture.
Post by: Biterider on April 05, 2010, 01:03:05 PM
Hi Hutch
The color picker seems to be restricted to the window and not the whole screen.

Biterider
Title: Re: Matching toy for color capture.
Post by: hutch-- on April 05, 2010, 01:20:31 PM
 :bg

Click the help button. What you must do is hold the left button down. Release it when you get the color sample you want.
Title: Re: Matching toy for color capture.
Post by: hutch-- on April 05, 2010, 02:21:20 PM
None the less, the interface was complicated so I changed it to a simpler and easier form to use.