MikeMarq wrote:
Once you use GetPixel to get the individual pixel, how do you split it into individual colors?
The return value of GetPixel is a COLORREF and is a DWORD layed out like this: 0x00BBGGRR In C/C++ we have the macros GetRValue, GetGValue, and GetBValue to extract the components from a COLORREF. There's something similar in VB I just can't remember :) Mark
"Do you know what it's like to fall in the mud and get kicked... in the head... with an iron boot? Of course you don't, no one does. It never happens. It's a dumb question... skip it."