Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Loads the toolbar state information from the Windows registry.
virtual BOOL LoadState(
LPCTSTR lpszProfileName=NULL,
int nIndex=-1,
UINT uiID=(UINT)-1
);
Parameters
[in] lpszProfileName
Specifies the relative path of the Windows registry key.[in] nIndex
Specifies the control ID of the toolbar.[in] uiID
Specifies the resource ID of the toolbar.
Return Value
Nonzero if the method succeeds; otherwise 0.
Remarks
The framework calls this method as a part of the initialization process of the application. For more information, see CWinAppEx::LoadState.
Requirements
Header: afxtoolbar.h