wb_set_image

bool wb_set_image (int wbobject, mixed source [, int transparentcolor [, int index [, int param]]])

Assigns the image source to the WinBinder object wbobject. Parameter source can be either an image handle or a path to an image file. The optional parameter transparentcolor tells the function which color is to be considered transparent. The default is NOCOLOR (no transparency). index is used to select a specific image from a multi-image file (such as a DLL or executable). In ListView and TreeView controls, param is the number of horizontal images contained in a multi-image bitmap.

Returns TRUE on success or FALSE if an error occurs.

See also

Control functions
Image functions
Window functions