| BOOL CBCGPToolBarImages::LoadStr | ( | LPCTSTR | lpszResourceName, |
| HINSTANCE | hinstRes = NULL, |
||
| BOOL | bAdd = FALSE, |
||
| LPCTSTR | lpszResType = NULL |
||
| ) |
Loads a bitmap with toolbar images.
Call this function to load a bitmap with the toolbar images from resources.
The loaded bitmap replaces the existing one if the bAdd parameter is FALSE. The internal image count is updated accordingly.
| lpszResourceName | Specifies a bitmap resource ID. |
| hinstRes | Specifies an instance of the resource DLL. |
| bAdd | Specifies whether to add the loaded bitmap to the existing bitmap or replace the existing bitmap. |
| lpszResType | Specifies the resource type to be loaded. If this parameter is NULL (default), the first matched resource type will be used. |