Gets color from a cell.
void GetCellColor( int nRow, int nCol, uint * pnForeColor = NULL, uint * pnBackColor = NULL )
Example codes can be pasted to doExample() function in GridControl's examples to run
int nRow = m_GridCtrl.GetRowOffset(); int nCol = m_GridCtrl.GetColOffset(); m_GridCtrl.SetCell(nRow, nCol, 123); m_GridCtrl.SetCellColor(nRow, nCol, COLOR_GREEN, COLOR_BLUE); int nFColor, nBColor; m_GridCtrl.GetCellColor(nRow, nCol, &nFColor, &nBColor); out_int(" foreground color=", nFColor); out_int(" background color=", nBColor);
GridControl::SetCellColor
GridControl.h