How to change a pixel 0,0 in a bmp

Post Reply
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

How to change a pixel 0,0 in a bmp

Post 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
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Post by StefanHaupt »

did you try Setpixel (hDC, nCol,nRow,nRGBColor) ?
kind regards
Stefan
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post by Otto »

Thank you Stefan. I will try it.
Regards,
Otto
Post Reply