[英]Can I add multiple columns in MFC CListBox?
I have a dialog with a CListBox
.I have to add 3 Columns in this list box.我有一个带有
CListBox
的对话框。我必须在这个列表框中添加 3 列。
Is there any way to have several different columns in CListBox
?有没有办法在
CListBox
有几个不同的列?
Or Can CListCtrl
help in this regard?或者
CListCtrl
可以在这方面提供帮助吗?
The windows explorer file view (right side) is list control, fonts in Fonts dialog box is listbox. windows资源管理器文件视图(右侧)是列表控件,字体对话框中的字体是列表框。
Source : http://forums.codeguru.com/showthread.php?358739-CListBox-and-CListCtrl .来源: http : //forums.codeguru.com/showthread.php?358739-CListBox-and-CListCtrl 。
use CListCtrl::InsertColumn
to add new column.使用
CListCtrl::InsertColumn
添加新列。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.