December 21, 2024

Dynamic Windows Function [dw_pixmap_set_transparent_color]

Syntax

void dw_pixmap_set_transparent_color(HPIXMAP pixmap, unsigned long color)

Parameters

HPIXMAP pixmap: Handle to a pixmap returned by dw_pixmap_new().
unsigned long color: Transparent DW_RGB() color.

Description

Sets the transparent color for a pixmap.

Remarks

This is only necessary on platforms that don't handle transparency automatically. OS/2 or Windows with 24bpp or less.