Programming/MFCGridCtrl
MFC Grid control 2.27 ReadOnly, CheckBox Button
TanSanC
2016. 8. 12. 16:53
MFC Grid control 2.27 ReadOnly, CheckBox Button
// Make cell row,col read-only
m_Grid.SetItemState(row, col, m_Grid.GetItemState(row, col) | GVIS_READONLY);
// Make cell row,col CheckBox Button
m_Grid.SetCellType(row, col, RUNTIME_CLASS(CGridCellCheck));
http://www.codeproject.com/Articles/8/MFC-Grid-control-2-27