ScaleHelperGetScrollBarSize(IntPtr) Method

Gets the recommended width and height of scrollbars matching the current scaling of the specified window handle.

Definition

Namespace: KGySoft.WinForms
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public static Size GetScrollBarSize(
	IntPtr hWnd
)

Parameters

hWnd  IntPtr
The handle of the window for which the scrollbar size is requested.

Return Value

Size
A Size representing the recommended width and height of scrollbars.

See Also