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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -