PyCWnd.GetWindowPlacement
tuple = GetWindowPlacement()
Returns placement information about the current window.
MFC References
Return Value
The result is a tuple of (flags, showCmd, (minposX, minposY), (maxposX, maxposY), (normalposX, normalposY))
Item | Description |
flags | One of the WPF_* constants |
showCmd | Current state - one of the SW_* constants. |
minpos | Specifies the coordinates of the window's upper-left corner when the window is minimized. |
maxpos | Specifies the coordinates of the window's upper-left corner when the window is maximized. |
normalpos | Specifies the window's coordinates when the window is in the restored position. |