March 28, 2024

Dynamic Windows Function [dw_window_set_style]

Syntax

void dw_window_set_style(HWND handle, unsigned long style, unsigned long mask)

Parameters

HWND handle: Window (widget) handle.
unsigned long style: Style features enabled or disabled.
unsigned long mask: Corresponding bitmask of features to be changed.

Description

Sets the style of a given window (widget).

Remarks

The style flags specified depends on the type of object. DW_DT_LEFT can be used on text widgets and DW_BS_NOBORDER can be used on buttons or bitmap buttons.

Example

dw_window_set_style(button, DW_BS_NOBORDER, DW_BS_NOBORDER);