Posted on 1997-07-30
I need to know how to load a toolbar.bmp file into the CToolbar class at run time. The bmp file is not a resource therefore I will not have a resource id. Also it can not be a resource as toolbars will be user defineable and creatable at runtime through a basic maintenance program. The user can have as many toolbars as they want but can only load one at a time. Since I don't know what buttons will be in the toolbar I cannot create a resource. Also the bitmap file created may contain any number of buttons. It's not just one button.