Dynamic Windows Function [dw_window_set_bitmap]
Syntax
int dw_window_set_bitmap(HWND handle, unsigned long id, char *filename)
Parameters
HWND handle: Handle to the window.
unsigned long id: An ID to be used to specify the icon (pass 0 if you use the filename param).
char *filename: a path to a file (Bitmap on OS/2 or Windows and a pixmap on Unix, PNG on Mac, pass NULL if you use the id param).
Returns
int DW_ERROR_NONE on success. DW_ERROR_UNKNOWN if the parameters were invalid. DW_ERROR_GENERAL if the bitmap was unable to be loaded.
Description
Sets the bitmap used for a given static window.
Remarks
Prior to version 3.3 this function returned nothing (void).