Originally posted by: Stephane K.
//create normal toolbar
iIdNormal => Bitmap resource
Is it because I don't use ILC_COLORDDB or because I don't invoke LoadBitmap() ?
Thanks.
PS: you always provide very simple solutions that allow me each time to gain more MFC expertise.
I am so glad I found your code. Before, I was able to use hot toolbars but I was limited to 16 colors.
Here is my piece of code. Could you tell me why?
ASSERT(iIdNormal);
if (iIdNormal)
{
VERIFY(il.Create(iIdNormal,szImage.cx, 0, clrNormalBackground));
tb->SendMessage(TB_SETIMAGELIST,0, (LPARAM)il.Detach());
}