BCGControlBar Pro for MFC
virtual BOOL CBCGPToolBar::LoadState ( LPCTSTR  lpszProfileName = NULL,
int  nIndex = -1,
UINT  uiID = (UINT)-1 
)
virtual

Loads a toolbar state from the Windows registry.

Returns
Nonzero if successful; otherwise 0.

Usually, this function is called by the framework as a part of workspace initialization process (see CBCGPWorkspace::LoadState ).

Parameters
lpszProfileNameSpecifies the relative path to the Windows registry key.
nIndexSpecifies a toolbar's control ID.
uiIDSpecifies a toolbar's resource ID.

Reimplemented from CBCGPControlBar.

Reimplemented in CBCGPMenuBar.