BCGControlBar Pro for MFC
BOOL CBCGPToolBarImages::Load ( UINT  uiResID,
HINSTANCE  hinstRes = NULL,
BOOL  bAdd = FALSE,
LPCTSTR  lpszResType = NULL 
)

Loads a bitmap with toolbar images.

Returns
Nonzero if the bitmap was loaded successfully; otherwise 0.

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.

Parameters
uiResIDSpecifies a bitmap resource ID.
hinstResSpecifies an instance of the resource DLL.
bAddSpecifies whether to add the loaded bitmap to the existing bitmap or replace the existing bitmap.
lpszResTypeSpecifies the resource type to be loaded. If this parameter is NULL (default), the first matched resource type will be used.