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

Stores a toolbar's state into the Windows registry.

Returns
Nonzero if successful; otherwise 0.

Usually, this function is called by the framework when a workspace state is being saved to the registry (see CBCGPWorkspace::SaveState ).

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.