How to change a pixel 0,0 in a bmp

How to change a pixel 0,0 in a bmp

Postby Otto » Thu Apr 17, 2008 5:02 am

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
User avatar
Otto
 
Posts: 6328
Joined: Fri Oct 07, 2005 7:07 pm

Postby StefanHaupt » Thu Apr 17, 2008 7:33 am

did you try Setpixel (hDC, nCol,nRow,nRGBColor) ?
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Postby Otto » Thu Apr 17, 2008 8:49 am

Thank you Stefan. I will try it.
Regards,
Otto
User avatar
Otto
 
Posts: 6328
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 84 guests