CImageList::Create
有几个版本。BOOL Create( int cx, int cy, UINT nFlags, int nInitial, int nGrow );BOOL Create( UINT nBitmapID, int cx, int nGrow, COLORREF crMask );BOOL Create( LPCTSTR lpszBitmapID, int cx, int nGrow, COLORREF crMask );BOOL Create( CImageList& imagelist1, int nImage1, CImageList& imagelist2, int nImage2, int dx, int dy );BOOL Create( CImageList* pImageList );
我想问一下COLORREF crMask 这个参数,这个参数应该怎么写才能够使得显示出来的位图不丢失颜色呢?
我发现不管我将RGB设置为什么值位图显示出来的都是黑白的。