CWnd::SetWindowPlacement

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

BOOL SetWindowPlacement(
   const WINDOWPLACEMENT*lpwndpl 
); 

Параметры

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

Возвращаемое значение

Nonzero if the function is successful; otherwise 0.

Требования

Header: afxwin.h

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::GetWindowPlacement

SetWindowPlacement