i got some array of bytes containing the rgb data for a 24 bit bitmap; i want to display it on the screen and therefor i copy the bitmap data to a CBitmap, create a memdc and select the bitmap into it. after that i copied it to screen by using BitBlt.
how can i tell windows to use 24 bit rgb colors and not convert it to b/w or half tone ?
creating some bitmap by using CreateBitmap (which allows you to specify the bits per pixel) instead of CreateCompatibleBitmap will always result in nothing being displayed.
i'm using mfc;