Share via


CPaneFrameWnd::LoadState

Loads the pane's state from the registry.

virtual BOOL LoadState(
   LPCTSTR lpszProfileName = NULL,
   UINT uiID = (UINT) -1
);

Parameters

  • [in] lpszProfileName
    The profile name.

  • [in] uiID
    The pane ID.

Return Value

TRUE if the pane state was loaded successfully; otherwise FALSE.

Requirements

Header: afxpaneframewnd.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CPaneFrameWnd Class

CPaneFrameWnd::SaveState