Dela via


CWinAppEx::ReloadWindowPlacement

Reloads the size and location of a window from the registry.

virtual BOOL ReloadWindowPlacement(
   CFrameWnd* pFrame 
);

Parameters

  • [in] pFrame
    A pointer to a frame window.

Return Value

Nonzero if the method was successful; 0 if the load failed or there is no data to load.

Remarks

Use the function CWinAppEx::StoreWindowPlacement to write the size and location of a window to the registry.

Requirements

Header: afxwinappex.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CWinAppEx Class

CWinAppEx::StoreWindowPlacement