Set Image List ID - GRID SENDMSG() Function 75

Syntax

TF$=SENDMSG(sysgui,id,75,image_list_id,$${,context{,ERR=lineref}})

Description

This function sets the ID of an image list recognized by the SYSGUI device. Set the IMGIDX parameter in the grid information block to specify which image in the list should be displayed.

Use this function in conjunction with Draw Cell - SENDMSG() Function 54 to display an image in a cell.

Parameter

Description

sysgui

SYSGUI channel.

id

Grid control ID.

75

Number of this SENDMSG() function.

image_list_id

Image list control ID.

$$

Always null.

The image list may have been defined by the `IMAGELIST' mnemonic or by loading a resource that has an image list defined. The image depth may not exceed 8 bits (256 colors). The return value indicates the success or failure of the operation; $01$ indicates success, $00$ indicates failure.

See Also

Draw Cell - Grid SENDMSG() Function 54 , 'IMAGELIST' mnemonic, ResBuilder Image list.

BBjStandardGrid::setCellIcon

BBjStandardGrid::setRowHeaderCellIcon

BBjGrid::setColumnHeaderCellIcon