Board index » delphi » Howto create a Bitmap only with a pointer of bitmap-bits

Howto create a Bitmap only with a pointer of bitmap-bits

Hello,
I have a pointer to a buffer with bitmap data. Id like to create a HBITMAP
from this. How does it works?
Thank you, Michael!
 

Re:Howto create a Bitmap only with a pointer of bitmap-bits


Quote
> I have a pointer to a buffer with bitmap data. Id like to create a

HBITMAP

-----------------------------------------------------------------------
This solution is brought to you by Joe Hecht's TExcellent products,
solving Form.Print and bitmap printing problems. Joe Hecht's TExcellent
products can be found at: http://www.code4sale.com/joehecht
-----------------------------------------------------------------------

Wee the WinAPI function CreateDIBitmap()

Joe

Other Threads