Compartir a través de


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

CWnd Class

Hierarchy Chart

CWnd::GetWindowPlacement

SetWindowPlacement

Concepts

CWnd Members