将文本文件读入reportstyle列表控件 [英] Read textfile into reportstyle list control

查看:50
本文介绍了将文本文件读入reportstyle列表控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



如何将文本文件读入报告样式listcontrol ..我能够在列表框控件中读取它但我需要将文本文件读入listcontrol(它有3列)。



请帮帮我..



谢谢。

Hello,

How i can read text file into report style listcontrol..I am able to read it in listbox control but I need to read the textfile into listcontrol(it has 3 columns).

Please help me out..

Thank you.

推荐答案

不确定为什么你很难找到这个:



MFC网格控制2.27 [ ^ ]



它看起来像excel但是,你可以用它作为listbox的替代品。作为奇迹,您可以更新单元格并发送消息...让我知道你如何继续:)
Not sure why you struggled to find this:

MFC Grid control 2.27[^]

It looks like excel but, you can use this as a replacement to listbox. Works wonders as you can update cells and send messages... Let me know how you get on :)


你可以使用MFC中的CListCtrl来实现这一点。你可以使用InsertItem方法插入列表控件和几个方法来控制listcontrol



你可以找到更多此处 [ ^ ]
you can use the CListCtrl in MFC to achieve this. you can use the InsertItem method to insert into the list control and several methods to control listcontrol

more you can find here[^]


在此站点上搜索MFC网格控件。我最近用它,因为我相信你正在做的事情......
Search for MFC Grid Control on this site. I recently used it for I believe same things as you are doing....


这篇关于将文本文件读入reportstyle列表控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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