Hi everyone

i'm trying to create a DIB using CreateDIBSection out of the DC of the main window and use StretchDIBits to try and draw the bitmap to a printer.

Do i need to create a logical palette and a RGBQUAD array for the bmiColor field in the BITMAPINFO structure?

Thanks.
Posted on 2003-10-26 21:45:28 by trexxz
If you use 8 bit colors or less, then yes. Otherwise you don't.
Posted on 2003-10-27 11:55:05 by Sephiroth3