BCGControlBar Pro for MFC
virtual BOOL CBCGPToolBar::LoadBitmapEx ( CBCGPToolBarParams params,
BOOL  bLocked = FALSE 

Loads toolbar images from the application resources including large images.

Nonzero if successful; otherwise 0.

This function loads the images for the application toolbars from the resources including large images specifies by params.

The LoadBitmapEx member function is called from the LoadToolBarEx() function and can be overridden in a CBCGPToolBar - derived class to perform a custom resource loading.

You can call the LoadBitmapEx function explicitly when the toolbar is being created.

paramsA reference to an object containing resource IDs for the toolbar images.
bLockedSpecifies whether the toolbar is locked or not.