Partager via


CUserToolsManager::LoadState

Loads information about user tools from the Windows registry.

BOOL LoadState(
   LPCTSTR lpszProfileName=NULL 
);

Parameters

  • [in] lpszProfileName
    The path of the Windows registry key.

Return Value

Nonzero if the state was loaded successfully; otherwise 0.

Remarks

This method loads the state of the CUserToolsManager Class object from the Windows registry.

Usually, you do not call this method directly. CWinAppEx::LoadState calls it as part of workspace initialization process.

Requirements

Header: afxusertoolsmanager.h

See Also

Reference

CUserToolsManager Class

Hierarchy Chart