I'm working on a DLL in VC 5 for use by VB 5. The dll uses the hDC content to change the graphics on a form. What I need to do is calculate the individual RGB values of a point. I'm reading the point using GETPIXEL, and setting it using SETPIXEL. Anyone know how I could calculate the RGB values of a point quickly and easily?