visual c++ - how to enable/disable checkbox on cgridctrl in mfc -
i using mfc grid control 2.27 (http://www.codeproject.com/articles/8/mfc-grid-control-2-27) in project.i enable/disable checkbox on cgridctrl. i'm not able find direct method disable check box.in fact when write folowing line,it disables gridcell on checkbox shown,while checkbox remains enable.
m_grid2.getcell(row,col)->setstate(gvis_readonly);
plz suggest way disable/enable both checkbox , gridcell @ runtime.
Comments
Post a Comment