Toolbar's images not showing in 256 color mode
Posted on 2002-03-27
Using plain Win32 Api
...I have an app with a toolbar with bitmap images in 256
colors indexed . The
toolbar displays well in W2K 24-bit True Color graphics mode. But when I
W2k's graphics mode to 256 colors, the toolbar was created and displayed
sans the images.
How do I solve the mystery of the disappearing images?
What guidelines should I follow so bitmaps for toolbars(or any other window
will display properly?
How do I create bitmaps to display properly in all color modes? And how do I insert them into a toolbar, using CreateToolbarEx using whole bitmaps and CreateWindowEx using imagelists?
I'll add another 100 points to the one who gives the suitable solution to the problem!
Thanks in advance!