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

Reference

CPaneFrameWnd Class

Hierarchy Chart

CPaneFrameWnd::SaveState