March 29, 2024

Dynamic Windows Function [dw_container_set_stripe]

Syntax

void dw_container_set_stripe(HWND handle, unsigned long oddcolor, unsigned long evencolor)

Parameters

HWND handle: The window (widget) handle.
unsigned long oddcolor: Odd row background color in DW_RGB() format or a default color index.
unsigned long evencolor: Even row background color in DW_RGB() format or a default color index. DW_RGB_TRANSPARENT will disable coloring rows. DW_CLR_DEFAULT will use the system default alternating row colors.

Description

Sets the alternating row colors for container window (widget) handle.

Remarks

This function is currently supported on Mac, Windows and GTK. GTK3 through 3.12 supports themed colors, not specified colors. GTK3 version 3.14 removed this support, only being reintroduced in GTK4. OS/2 will probably never support this.

This command needs to be issued after the container has been setup.

This API was introduced in version 2.2.