CWnd::SetWindowPlacement
Visual Studio 2012
Sets the show state and the normal (restored), minimized, and maximized positions for a window.
BOOL SetWindowPlacement( const WINDOWPLACEMENT*lpwndpl );
Sets the show state and the normal (restored), minimized, and maximized positions for a window.
BOOL SetWindowPlacement( const WINDOWPLACEMENT*lpwndpl );
Points to a WINDOWPLACEMENT structure that specifies the new show state and positions.