如何使用自定义绘制控件? [英] how to use custom draw control?
本文介绍了如何使用自定义绘制控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建一个可以容纳按钮的列表控件.
I want to create a list control which could hold buttons. How to put CButton class object into a list control?
推荐答案
这不能简单地回答.您可以使用所有者绘图来查看CListCtrl
派生类的源.他们通常在单元格中添加编辑字段,复选框和组合框.
请参阅CP文章 CGridListCtrlEx-基于CListCtrl的网格控制 [ ^ ]其中还包含链接到其他文章.
This can''t be answered in short. You may have a look on the sources ofCListCtrl
derived classes using owner draw. They usually add edit fields, check buttons, and combo boxes to cells.
See the CP article CGridListCtrlEx - Grid Control Based on CListCtrl[^] which also contains links to other articles.
有人可以帮我这个忙吗?我将不胜感激
could someone help me with this? I would be great appreciate it
这篇关于如何使用自定义绘制控件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文