类型定义 |
||
Type WINDOWPLACEMENT Length As Long flags As Long showCmd As Long ptMinPosition As POINTAPI ptMaxPosition As POINTAPI rcNormalPosition As RECT End Type |
||
说明 |
||
这个结构用于GetWindowPlacement和SetWindowPlacement函数以获取或设置窗口的状态及位置信息 |
||
字段表 |
||
字段 |
类型及说明 |
|
Length |
Long,这个结构的长度(size),必须是44 |
|
flags |
Long,以下的两个常数之一 |
|
WPF_SETMINPOSITION |
The ptMinPosition specifies the x,y location of the window when minimized. |
|
WPF_RESTORETOMAXIMIZED |
The SW_SHOWMINIMIZED constant must be specified in the showCmd parameter. Indicates that the window should be maximized the next time it is restored. |
|
showCmd |
Long,Visibility flags |
|
ptMinPosition |
POINTAPI,The x,y location of the window when minimized. |
|
ptMaxPosition |
POINTAPI,The x,y location of the window location when maximized. |
|
rcNormalPosition |
RECT,The position and size of the window when it is restored (normal condition). |