如何在listctrl的行中使用组合框创建字段 [英] How do I make fields with combo box in a row of listctrl

查看:75
本文介绍了如何在listctrl的行中使用组合框创建字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题中显示:

我在表单中创建了ListCtrl类型行,我想让它的某些字段有组合框。

你愿意吗?告诉我设置和初始化的方法并插入值....



谢谢。



我尝试了什么:



这对我来说非常复杂。

因为列表控制对我来说很难。

As displayed in the title:
I have made ListCtrl type row in the form and I want to make some fields of it to have combo box.
Would you tell me the method of setting and initialization and insert values....

Thank you.

What I have tried:

This is very complex to me.
Because List Control is difficult to me.

推荐答案

本文解释了它: MFC ListControl



主要原则是,在listcontrol的子窗口中使用子窗口。问题是让它们保持活力并保持正确的播放效果。



如果你很难,你应该考虑替代解决方案或者学习它。
This article explains it: MFC ListControl.

The main principle is, to use child windows in the sub windows of the listcontrol. The problem is to keep them alive and at right playe.

If it is difficult for you, you should think about alternative solutions or learn it.


这篇关于如何在listctrl的行中使用组合框创建字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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