Originally posted by timguo
I want to use CBCGPGridCtrl as a input interface and wolud somebody can advise me how to get the value from a cell in CBCGPGridCtrl.
thanks and best regards
It's easy to do. I assume that you're not using grid in virtual mode.
int nRow = 0;
int nCol = 0
CBCGPGridRow* pRow = m_Grid.GetRow(nRow);
CBCGPGridItem* pItem = pRow->GetItem(nCol);
CString sValue = pItem->GetValue();