Advertisement

Black Bitmaps in a CListView - Black

Started by November 06, 2000 03:27 PM
0 comments, last by phueppl1 24 years, 2 months ago
Hi There! I've got a problem (na, not really ;o): For the Leveleditor I'm programming, I made a sidepanel with a CListCtrl and a CImageList attached to it... ok about everything runs fine... but the bitmaps i get look screwed up! If i switch to 24 bit Color Depth the bitmap is completly black...
        
iconbmp.CreateBitmap(64, 64,0,24,&bmaps<i>.iconpuffer);
    
that's what i use to create the bitmap... I know that i loaded it right cause I displayed it once by drawing each pixel for itself... (well the colors were a bit mixed up, but not more). Any help appreciated! cya, Phil Visit Rarebyte! and no!, there are NO kangaroos in Austria (I got this questions a few times over in the states Edited by - phueppl1 on 11/6/00 3:43:42 PM
Visit Rarebyte! and no!, there are NO kangaroos in Austria (I got this question a few times over in the states ;) )
if i''m not mistaken, the 3rd param there is the number of color planes, try using a 1 and see if it makes a diff

This topic is closed to new replies.

Advertisement