December 21, 2024

Dynamic Windows Function [dw_button_new]

Syntax

HWND dw_button_new(char *text, unsigned long id)

Parameters

char *text: The text to be display by the static text widget.
unsigned long id: An ID to be used with dw_window_from_id() or 0L.

Returns

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

Description

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