BCGControlBar Pro for MFC
virtual BOOL CBCGPToolBar::LoadToolBarEx ( UINT  uiToolbarResID,
CBCGPToolBarParams params,
BOOL  bLocked = FALSE 

Loads toolbar images from the resources using CBCGPToolBarParams helper that allows to handle large images.

Nonzero if the function succeeds; otherwise 0.

Call this member function to load toolbar images from the application resources. Using CBCGPToolBarParams helper allows you to load large images as well.

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