How would I load an alternate bmp to a toolbar at run time? I need to be able to load the images off of the disk? It seems like a simple task but I've been banging my head for hours and I can't find a way to do it.
Thanks
Scott
Printable View
How would I load an alternate bmp to a toolbar at run time? I need to be able to load the images off of the disk? It seems like a simple task but I've been banging my head for hours and I can't find a way to do it.
Thanks
Scott
You can use the GetToolBarCtrl-Method of the m_wndToolBar-Member of CMainFrm to get the CToolBarCtrl-Object from your Toolbar. Use the GetImageList-Method of this Object to customize the Icons. See also the DeleteButton- and InsertButton-Methods of CTooBarCtrl...