如何将组合框插入listview控件 [英] how to insert a combo box to the listview control
本文介绍了如何将组合框插入listview控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我有一个win32程序。有一个listview控件,它包含两列。现在我需要第二列是一个组合控件。如何实现它。没有使用MFC。只需使用C来实现代码。
谢谢大家。
Hi all,
I have a win32 program. There is a listview control which contains two columns.Now i need the second column be a combo control.How could it be implemented.No using MFC. just use C to implement the code.
Thank you all.
推荐答案
你需要得到第二栏的矩形
http://msdn.microsoft.com/en-us/library/bb761049(v = vs.85).aspx [ ^ ]
而不是通过代码在那里创建作为孩子的组合框。
you need to get the rect of your second column
http://msdn.microsoft.com/en-us/library/bb761049(v=vs.85).aspx[^]
and than create there the combobox as child via code.
这篇关于如何将组合框插入listview控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文