Win32Lib - Create Pixmap in 24bits

new topic     » topic index » view thread      » older message » newer message

Hi All,
I'm trying to develop a small program that requires me to create a offscreen
pixmap using win32Lib, but it has to be in 24bit.
Currently creating a pixmap is easy, but it seems to depend on the screen colour
depth - ie if running in 256 colours then the pixmap is also 256 colours (I guess
it's a compatible DC thingy).
I'm not overly used to playing around at the low level's of Windows and have no
idea how to force the pixmap to be in 24bits, no matter what the screen is at.

I'm looking for a simple code solution rather than the inclusion of another
library.

Can anyone guide me here?

Thanks in advance.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu