Click or drag to resize

WindowPlacementGetPlacement Method

Retrieves the show state and the restored, minimized, and maximized positions of the specified window.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static WindowPlacement GetPlacement(
	IntPtr handle,
	bool throwOnError = false
)

Parameters

handle
Type: SystemIntPtr
The window handle.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of Windows errors.

Return Value

Type: WindowPlacement
An instance of the WindowPlacement struct.
See Also