BCGControlBar Pro for MFC
virtual BOOL CBCGPWorkspace::LoadWindowPlacement ( CRect &  rectNormalPosition,
int &  nFflags,
int &  nShowCmd 
)
protectedvirtual

Called by the framework before a creation of the window attached to a CWnd object to load the window placement information from the registry.

Returns
Nonzero if the window position and flags were loaded successfully.

The BCGControlBar Library framework automatically saves the main frame window position and state before application exit and loads them when the application starts next time. The window placement is stored in the Windows registry under "WindowPlacement" key.

Override this member function if you want to load additional information about the window.

Parameters
rectNormalPositionSpecifies the window's coordinates when the window is in the normal (restored) position.
nFflagsSpecifies flags that control the position of the minimized window and the method by which the window is restored.
nShowCmdSpecifies the show state of the window.