April 23, 2024

Dynamic Windows Function [dw_scrollbar_new]

Syntax

HWND dw_scrollbar_new(int vertical, unsigned long id)

Parameters

int vertical: TRUE or FALSE if scrollbar is vertical.
unsigned long id: An ID to be used with dw_window_from_id() or 0L.

Returns

HWND A handle to a scrollbar window or NULL on failure.

Description

Create a new scrollbar window (widget) to be packed.