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

Saves state to the Windows registry.

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.

lpszProfileNameProfile name.
nIndexProfile index.
uiIDControl bar ID.

Reimplemented in CBCGPToolBar, and CBCGPMenuBar.