我们可以将任何行,任何列或任何单元格设为不可编辑吗? [英] Can we make non editable any row or any column or any cell.

查看:61
本文介绍了我们可以将任何行,任何列或任何单元格设为不可编辑吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以使任何行,任何列或任何单元格都变得不可编辑吗? SetFixedRowCount() SetFixedColumnCount()函数使某些开始的行或列不可编辑.

但是我们想在网格中的任何地方制作不可编辑的行,列或单元格.

Can we make non editable any row or any column or any cell. SetFixedRowCount () and SetFixedColumnCount () functions make non editable some of starting rows or columns.

But we want to make non editable row or column or cell anywhere in grid.

推荐答案

也许此控件可以为您提供帮助:
MFC网格控件2.27 [
Maybe this control could help you out:
MFC Grid control 2.27[^]

Otherwise you probably need to do some custom painting yourself and implement your own scheme to provide that functionality. Most grids simply can add starting rows and columns like a spreadsheet application and thats it.

Good luck!


据我所知,这不是旧版控件,而是用户控件.

请参阅E.F. Nijboer的回答:他为您提供了该文章的链接,您可以在其中下载最新版本.如果您仍然无法解决问题,建议您将问题发布到文章页面.
As far as I can see, this is not a legacy control, this a user control.

See E.F. Nijboer''s answer: he gave you the link to the article where you can download the recentest version. If you still can''t fix your problem, I suggest you post your question at the article''s page.


这篇关于我们可以将任何行,任何列或任何单元格设为不可编辑吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆