BCGControlBar Pro for MFC
virtual BOOL CBCGPAppBarWnd::LoadState ( LPCTSTR  lpszProfileName,
int  nIndex = 0 
)
virtual

Loads application bar state from the registry.

Returns
Nonzero if the state has been loaded successfully; otherwise 0.

Call this member function to load the application bar state from the registry. You should call this function explicitly (meaning that the framework doesn't load state of appbars automatically).

Parameters
lpszProfileNameProfile name
nIndexProfile index.