CExtGridWnd::GridCellSet

Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Initialized or destroys cell objects at a specified location and returns true if succeeded.

virtualbool GridCellSet(
   LONG nColNo,
   LONG nRowNo,
   const CExtGridCell * pCell = NULL,
   LONG nColCount = 1L,
   LONG nRowCount = 1L,
   INT nColType = 0,
   INT nRowType = 0,
   bool bRedraw = true
);

Parameters

nColNo
Specifies the index of the first column.
nRowNo
Specifies the index of the first row.
pCell
Pointer to the cell object to be copied from. Specify NULL if you want to destroy the cell(s) at the location specified in this method.
nColCount
Number of columns.
nRowCount
Number of rows.
nColType
Type of the column (0 - inner column, -1 - outer column on left, 1 - outer column on right).
nRowType
Type of the row (0 - inner row, -1 - outer row at top, 1 - outer row at bottom).
bRedraw
Indicates that the grid control is to be immediately redrawn if bRedraw is true.

See Also

CExtGridWnd Overview | Class Members | Hierarchy Chart