2.2.6.17.79 GridControl::SetCellIcon


Description

Sets icon to given cell.

Syntax

bool SetCellIcon( int nRow, int nCol, int nResID, int nModule, BOOL bSmall = TRUE, int nOverlayResId = 0 )

Parameters

nRow
[input] 0-offset row index
nCol
[input] 0-offset column index
nResID
[input] icon resource id
nModule
[input] Module id; the most used Module id is MODULE_ORIGIN
bSmall
[input] true to use small size icon
nOverlayResId
[input] resource to overlay over the icon

Return

false if one of the ids is invalid, otherwise true

Examples

See examples of SetCellPicture

Remark

See Also

GridControl::SetColDotButtonIcon

Header to Included

GridControl.h