Need some help with Windows bitmaps...

BlitzPlus Forums/BlitzPlus Programming/Need some help with Windows bitmaps...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Think you probably should make your bitmaps with CreateBitmap and then copy them onto your device context with BitBlt. Hopefully this should convert to the correct bit depth automatically. then you can work with a 24bit bitmap in memory and not worry about the output (screen)bit depth. Suppose if you use CreateCompatibleBitmap you might end up with a 16bit bitmap which may not be desireable! I don't really know a whole lot about this I am afraid, but the MSDN website is pretty good.