CWnd::SetWindowPlacement

Switch View :
ScriptFree
Visual Studio 2010 - Visual C++
CWnd::SetWindowPlacement

Sets the show state and the normal (restored), minimized, and maximized positions for a window.

BOOL SetWindowPlacement(
   const WINDOWPLACEMENT*lpwndpl 
); 
Parameters

lpwndpl

Points to a WINDOWPLACEMENT structure that specifies the new show state and positions.

Return Value

Nonzero if the function is successful; otherwise 0.

Requirements

Header: afxwin.h

See Also

Reference

Concepts