点击或拖拽改变大小

WINDOWPLACEMENT 字段

UnmanagedMethodsWINDOWPLACEMENT 类型公开以下成员。

字段
  名称说明
公共字段Flags
Specifies flags that control the position of the minimized window and the method by which the window is restored.
公共字段Length
The length of the structure, in bytes. Before calling the GetWindowPlacement or SetWindowPlacement functions, set this member to sizeof(WINDOWPLACEMENT).

GetWindowPlacement and SetWindowPlacement fail if this member is not set correctly.

公共字段MaxPosition
The coordinates of the window's upper-left corner when the window is maximized.
公共字段MinPosition
The coordinates of the window's upper-left corner when the window is minimized.
公共字段NormalPosition
The window's coordinates when the window is in the restored position.
公共字段ShowCmd
The current show state of the window.
Top
参见