在MFC中动态添加列表框中的项目,并在列表框中编辑项目时添加和删除项目 [英] Add item in listbox dynamically in MFC and add and remove item on edit of item in listbox

查看:97
本文介绍了在MFC中动态添加列表框中的项目,并在列表框中编辑项目时添加和删除项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请使用MFC向我们提供以下项目的代码。

Please provide us the code for the following items using MFC.

1。创建一个对话框

2。将dynacally列表框添加到对话框中。

2. Add the list box dynacally to dialog box.

3。在列表框中添加项目dyanamically

3. Add item in the list box dyanamically

4。动态删除列表框中的项目 

4. Remove items in listbox dynamically 

推荐答案


请使用MFC向我们提供以下项目的代码。

Please provide us the code for the following items using MFC.

1。创建一个对话框

2。将dynacally列表框添加到对话框中。

2. Add the list box dynacally to dialog box.

3。在列表框中添加项目dyanamically

3. Add item in the list box dyanamically

4。动态删除列表框中的项目 

4. Remove items in listbox dynamically 

您是否有使用MFC的经验?

Do you have any experience using MFC?

请发布您的代码为实现上述第1 - 4项而写的,并告知遇到的具体问题和收到的错误信息。

Please post the code that you have written to achieve items 1 - 4 above and advise the specific problems encountered and error messages received.


这篇关于在MFC中动态添加列表框中的项目,并在列表框中编辑项目时添加和删除项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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