Click or drag to resize

WindowsUtilitiesCenterWindow Method (IntPtr)

Centers a window relatively to the screen.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static void CenterWindow(
	IntPtr handle
)

Parameters

handle
Type: SystemIntPtr
The window handle.
Exceptions
ExceptionCondition
ArgumentExceptionhandle is zero.
See Also