April 25, 2024

Dynamic Windows Function [dw_bitmapbutton_new_from_data]

Syntax

HWND dw_bitmapbutton_new_from_data(char *text, unsigned long id, char *data, int len)

Parameters

char *text: Bubble help text to be displayed.
unsigned long id: An ID to be used with dw_window_from_id() or 0L.
char *data: The contents of the image (BMP or ICO on OS/2 or Windows, XPM on Unix, PNG on Mac)
int len: length of data

Returns

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

Description

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