Loads a bitmap with toolbar images from the resources and adds it to the collection of toolbar images.
- Returns
- Nonzero if successful; it is 0 if uiResID or uiBmpResID do not specify valid resource IDs, or another error occurs.
Call this function to load a bitmap with toolbar images from the resources and add it to the collection of toolbar images. The AddToolBarForImageCollection function creates a temporary toolbar object and calls CBCGPToolBar::LoadToolBar.
- Parameters
-
| uiResID | Resource ID of a toolbar whose images should be loaded. |
| uiBmpResID | Resource ID of a bitmap with toolbar images to load. |
| uiColdResID | Resource ID of a bitmap with "cold" toolbar images to load. |
| uiMenuResID | Resource ID of a bitmap with menu images to load. |
| uiDisabledResID | Resource ID of a bitmap with disabled toolbar images to load. |
| uiMenuDisabledResID | Resource ID of a bitmap with disabled menu images to load. |