Using CPalette in Modeless Dialog Box
Posted on 2001-07-23
I am trying to display some bitmaps in a modeless dialog box. I only have 256 colors to work with. Everything works fine, except when I switch to a different app that has an uncompatable palette. I have it so that my main window works correctly all the time (I am displaying bitmaps in it as well). Does anyone know of some sample code for updating the palette for a modeless dialog box or have any suggestion beside getting a better video card. I have already looked at the DIBLook example, this was how I got my main app window to work correctly. Help, please.