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

Saves state to the Windows registry.

Returns
Nonzero if the state was saved successfully; otherwise 0.

This function is called by the framework when it saves a control bar state into the windows registry. Override SaveState in a derived class to store additional information.

Parameters
lpszProfileNameProfile name.
nIndexProfile index.
uiIDControl bar ID.

Reimplemented in CBCGPToolBar, and CBCGPMenuBar.