BCGControlBar Pro for MFC
virtual BOOL CBCGPToolBar::LoadToolBar ( UINT  uiResID,
UINT  uiColdResID = 0,
UINT  uiMenuResID = 0,
BOOL  bLocked = FALSE,
UINT  uiDisabledResID = 0,
UINT  uiMenuDisabledResID = 0,
UINT  uiHotResID = 0 
)
virtual

Loads toolbar from the resources.

Returns
Nonzero if successful; otherwise 0.

Loads a toolbar from the application resources. Usually, this function is called right after the toolbar has been created.

Parameters
uiResIDResource ID of the toolbar to be loaded.
uiColdResIDResource ID of the bitmap, which contains cold toolbar images.
uiMenuResIDResource ID of the bitmap, which contains regular menu images.
bLockedSpecifies whether the toolbar is locked or not.
uiDisabledResIDResource ID of the bitmap, which contains disabled toolbar images.
uiMenuDisabledResIDResource ID of the bitmap, which contains disabled menu images.
uiHotResIDResource ID of the bitmap, which contains hot toolbar images.