April 25, 2024

Dynamic Windows Function [dw_scrollbox_get_pos]

Syntax

int dw_scrollbox_get_pos(HWND handle, int orient)

Parameters

HWND handle: Handle to the scrollbox to be queried.
int orient: The vertical or horizontal scrollbar.

Returns

int The vertical or horizontal position in the scrollbox.

Description

Returns the position of the scrollbar in the scrollbox.

Remarks

This API was introduced in version 2.0.