Click or drag to resize

WindowsUtilitiesCenterWindow Method (IntPtr)

Centers a window relatively to the screen.

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

Parameters

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