ScaleHelperGetScrollBarSize(IntPtr) Method
Gets the recommended width and height of scrollbars matching the current scaling of the specified window handle.
Namespace: KGySoft.WinFormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public static Size GetScrollBarSize(
IntPtr hWnd
)
Public Shared Function GetScrollBarSize (
hWnd As IntPtr
) As Size
public:
static Size GetScrollBarSize(
IntPtr hWnd
)
static member GetScrollBarSize :
hWnd : IntPtr -> Size
- hWnd IntPtr
- The handle of the window for which the scrollbar size is requested.
SizeA
Size representing the recommended width and height of scrollbars.