WindowsUtilitiesCenterWindow Method (IntPtr, IntPtr) |
Centers a window relatively to another window, or to the screen.
Namespace:
callback.ShellBoost.Core.Utilities
Assembly:
callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax public static void CenterWindow(
IntPtr handle,
IntPtr alternateOwner
)
Parameters
- handle
- Type: SystemIntPtr
The window handle. - alternateOwner
- Type: SystemIntPtr
An alternate owner window handle.
Exceptions See Also