Hello,
can someone explain how i can get a 24bit bitmap
to display in other display modes, my program
opens a third party data file that stores some bitmaps
in parts of it, the bitmap is stored as bgr raw data
i read this data and flip the bytes to rgb, then use
CreateBitmap(256,256,1,24,buf);
everything works fine in my program as long as my display
is set to 24bit color mode, any other mode i get a junk bitmap
or nothing...

i need a way to convert the bitmap to be compatible with
the screen and still be able to save the 24bit data to save back to
the file after modified

hope you can help thanks,