Win32Lib - Create Pixmap in 24bits
- Posted by Dave Probert <zingo at purpletiger.com> Oct 29, 2004
- 551 views
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.