CPaneFrameWnd::SaveState

Saves the pane's state to the registry.

virtual BOOL SaveState(
   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 saved successfully; otherwise FALSE.

Requirements

Header: afxpaneframewnd.h

See Also

Reference

CPaneFrameWnd Class

Hierarchy Chart

CPaneFrameWnd::LoadState