다음을 통해 공유


CMouseManager::LoadState

Loads the state of the CMouseManager Class from the registry.

BOOL LoadState(
   LPCTSTR lpszProfileName = NULL
);

Parameters

  • [in] lpszProfileName
    A path of a registry key.

Return Value

Nonzero if successful; otherwise 0.

Remarks

The state information loaded from the registry includes the registered views, view identifiers, and the associated commands. If the parameter lpszProfileName is NULL, this function loads the CMouseManager data from the default registry location controlled by the CWinAppEx Class.

In most cases, you do not have to call this function directly. It is called as a part of the workspace initialization process. For more information about the workspace initialization process, see CWinAppEx::LoadState.

Requirements

Header: afxmousemanager.h

See Also

Reference

CMouseManager Class

Hierarchy Chart

CWinAppEx Class

CWinAppEx::LoadState