FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to change a pixel 0,0 in a bmp
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
How to change a pixel 0,0 in a bmp
Posted: Thu Apr 17, 2008 05: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

Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
How to change a pixel 0,0 in a bmp
Posted: Thu Apr 17, 2008 07:33 AM

did you try Setpixel (hDC, nCol,nRow,nRGBColor) ?

kind regards

Stefan
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
How to change a pixel 0,0 in a bmp
Posted: Thu Apr 17, 2008 08:49 AM

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

Continue the discussion