如何创建多列ListBox [英] How to create multicolumn ListBox
本文介绍了如何创建多列ListBox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用VC ++ 6.0.添加列表框后,我看到了列表框的multicolumn属性.
但是我无法使用它.我有三个字段数据,empno,empname,empcity.
如何为此添加多列数据.我知道如何使用列表ctrl,但它仍然会
如果有人向我展示如何获取多列列表框,那就太好了.
I am using VC++ 6.0. After adding Listbox I seen multicolumn property of list box .
But I am not able to use it. I have three field data, empno,empname,empcity.
How to add multi column data for this. I know how to use list ctrl,but still it will
be great if some one shows me how to get multicolumn listbox
推荐答案
多列列表框不是您想要的:
Multi column listbox is not what you want:
Item1 Item4 Item7
item2 Item5
Item3 Item6
尝试使用 CListCtrl [MFC网格控件2.27 [
Try using a CListCtrl[^] or perhaps the MFC Grid control 2.27[^]
Best regards
Espen Harlinn
这篇关于如何创建多列ListBox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文