Delen via


CCommandManager::SaveState

Saves all user command values to the registry.

BOOL SaveState(
    LPCTSTR lpszProfileName
);

Parameters

  • [in] lpszProfileName
    The name of the location in the registry to store application settings.

Return Value

TRUE if the method was successful; otherwise FALSE.

Requirements

Header: afxcommandmanager.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CCommandManager Class