December 21, 2024

Dynamic Windows Function [dw_window_set_color]

Syntax

int dw_window_set_color(HWND handle, unsigned long fore, unsigned long back)

Parameters

HWND handle: The window (widget) handle.
unsigned long fore: Foreground color in DW_RGB() format or a default color index.
unsigned long back: Background color in DW_RGB() format or a default color index.

Returns

int DW_ERROR_NONE (0) on success.

Description

Sets the colors used by a specified window (widget) handle.