1. Win32Lib Bitmaps and 256 Colors

Here's some more information I ran across on loading bitmaps with
LoadBitmap:

"The LoadBitmap function, while simple top use, is too braindead to be used
in a situation where your application requires palette support, as it
created all bitmaps using the system default palette of 20 colors. While
only a problem on 256 color display setups, its a very ugly problem - all
your loaded bitmaps are displayed with a mere 20 colors."

One option you might try is to use the loadBitmapFromFile2() function
instead of loadBitmapFromFile(). You'll have to declare it as global. This
_might_ take care of the problem.

-- David Cuny

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu