Group: Window - Library: user32
The GetWindowPlacement function retrieves the show state and the restored, minimized, and maximized positions of the specified window.
Obtaining some properties for the Windows desktop using the GetWindowPlacement function
Displaying dimmed window behind VFP top-level form
BOOL GetWindowPlacement(
HWND hWnd, // handle to window
WINDOWPLACEMENT *lpwndpl // position data
); DECLARE INTEGER GetWindowPlacement IN user32;
INTEGER hWnd,;
STRING @ lpwndpl hWnd [in] Handle to the window.
lpwndpl [out] Pointer to the WINDOWPLACEMENT structure that receives the show state and position information.
If the function succeeds, the return value is nonzero.
Before calling this function set the length member of WINDOWPLACEMENT to sizeof(WINDOWPLACEMENT).
Home