清单控制要求 [英] List Control Requirement

查看:92
本文介绍了清单控制要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的技术人员,

我是MFC的新手,已经完成了一项重要任务,必须完成

尽快

目标:设计和开发列表控制行具有
的应用程序
将根据数据库的请求生成.

平台:VC ++

语言:C ++

界面:MFC

数据库:SQLite3

示例场景:假设一个List控件最初有3个三行,当

5行的请求来自数据库,则3行必须更改为5行.
否则数量可能会根据数据库查询而有所不同.

我希望您可能已经看到了这种情况.

同样,请给我一些提示.就像我上任何课都可以

执行相同的操作或有其他替代方法.

等待您的回复.

感谢所有人.

问候,

Aditya.

Dear Techies,

I am a newbie to MFC and I ve got an important task which has to be delivered

ASAP.

Objective: TO design & develop an application where the List Control Rows has

to be generated depending on the requests of the database.

Platform: VC++

Language: C++

GUI: MFC

Database: SQLite3

Example Scenario: Assuming a List control has 3 Three rows initially, when the

request of 5 rows comes form Database, then 3 rows has to be changed to 5 Rows.
Or the number might vary depending on the database query.

I hope you might have visualized the scenario.

Please send me some clues, for the same.Like do I have any class where I can

perform the same operation or is there any other alternative.

Waiting for your replies.

Thanks to all.

Regards,

Aditya.

推荐答案

看看此链接 [ ^ ].这是Matt Weagle的文章,它将向您展示如何使用CListCtrl.

有了它,您将能够看到如何操作ListCtrl,但是您应该向我们解释一些数据库部分...您正在使用哪个DB ...

希望这可以帮助! :thumbsup:
Take a look at this link[^]. It is an article from Matt Weagle that will show you how to use CListCtrl.

With that you will be able to see how to operate the ListCtrl, but you should explain us a little bit more the database part... which DB are you using...

Hope this helps! :thumbsup:


这篇关于清单控制要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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