I have an 8bit DIB as a bitmap resource.
The problem is that I can't paint the bitmap properly in 256 color mode. When the bitmap is displayed its colors looks strange.
I use LoadBitmap to get the handle to the bitmap and then I blit it to the screen from memory context.
Is there any quick way to solve this problem ? How do I get the palette from the bitmap resource ?