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

Loads the control bar state from the registry.

Returns
Nonzero if the control bar state was loaded successfully; otherwise 0.

Called by the framework to load the control bar state from the registry. Override it in a derived class to load additional information saved by SaveState().

Parameters
lpszProfileNameProfile name.
nIndexProfile index.
uiIDControl bar ID.

Reimplemented in CBCGPToolBar, and CBCGPMenuBar.