Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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