PatrykDabrowski wrote:
I can't load my 32x32 24-bit bitmaps into it (Visual Studio 2003 resource editor converts them to some ugly-looking 8-colors bitmaps...)
When you create the image list for the toolbar control, try building it like this... CBitmap bitmap; bitmap.LoadBitmap(IDB_TOOLBARBITMAP); // (the '2' in the following call is the number of buttons in the bitmap) m_ToolBarImageList.Create(32, 32, ILC_COLOR24|ILC_MASK, 2, 1); // (RGB(0x00,0xFF,0x00) sets the transparent color to bright green) m_ToolBarImageList.Add(&bitmap, RGB(0x00,0xFF,0x00));