Type WINDOWPLACEMENT
Length As Long
flags As Long
showCmd As Long
ptMinPosition As POINTAPI
ptMaxPosition As POINTAPI
rcNormalPosition As RECT
End Type
Структура WINDOWPLACEMENT содержит информацию о расположении и видимости окна на экране
| WPF_ ASYNCWINDOWPLACEMENT | Windows 2000 или выше: If the calling thread and the thread that owns the window are attached to different input queues, the system posts the request to the thread that owns the window. This prevents the calling thread from blocking its execution while other threads process the request |
| WPF_ RESTORETOMAXIMIZED = &H2 | При восстановлении окно должно быть развернуто. Параметр showCmd должен иметь константу SW_SHOWMINIMIZED |
| WPF_ SETMINPOSITION = &H1 | Задает координаты свернутого окна. Данный флаг можно использовать, если координаты установлены в параметре ptMinPosition |