Click to See Complete Forum and Search --> : Pixels of a bitmap


Martin Thoma
April 11th, 1999, 08:40 AM
Hello !

Is there any possebility to get and set the pixels of a bitmap in a COLORREF format ? I miss functions like

COLORREF CBitmap::GetPixel(x, y)
and
CBitmap::SetPixel(x,y,COLORREF c)

Any ideas ? The main thing is, that I want to get and set pixels in an offscreen bitmap or DC or whatever. The result should be a bitmap (again).

Greetings

Martin