Page 1 of 1

How to change a pixel 0,0 in a bmp

Posted: Thu Apr 17, 2008 5:02 am
by Otto
I save a SAY object with SaveToBmp.
To show these bmps later in a control
in full color it would be necessary to
change the top left pixel to a different
color.
Does someone know how to do.

Thanks in advance
Otto

Posted: Thu Apr 17, 2008 7:33 am
by StefanHaupt
did you try Setpixel (hDC, nCol,nRow,nRGBColor) ?

Posted: Thu Apr 17, 2008 8:49 am
by Otto
Thank you Stefan. I will try it.
Regards,
Otto