BCGControlBar Pro for MFC
virtual BOOL CBCGPWorkspace::LoadState ( LPCTSTR  lpszSectionName = NULL,
CBCGPFrameImpl pFrameImpl = NULL 
)
virtual

Loads the application state from the Windows registry.

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

The MFC framework calls LoadFrame when it creates a frame window using a document template object.

Parameters
lpszSectionNameSpecifies a relative path to the application data key.
pFrameImplA pointer to frame implementation object.