December 21, 2024

Dynamic Windows Function [dw_icon_load_from_file]

Syntax

HICN dw_icon_load_from_file(char *filename)

Parameters

char *filename: Name of the file, omit extention to have DW pick the appropriate file extension. (ICO on OS/2 or Windows, XPM on Unix, PNG on Mac)

Returns

HICN Handle to the created icon or NULL on error.

Description

Obtains an icon from a file.