文件名称:vc界面
介绍说明--下载内容均来自于网络,请自行研究使用
我们经常会使用到组合框,而组合框是是有2种功能的--下拉和列表。一般情况下,列表框的宽度和选择框是一样宽的,但是我们有些时候确实很需要把列表框的宽度变大,一便让我们能更好的看我们要选的东西。 为了能有这个功能,我写了下面的这个函数。首先得在你的对话框中添加一个的WM_CTLCOLOR的消息句柄,或者使用CComboBox的继承类,而且在其中添加下面的代码:-we often use to mix fr a me, and fr a mes are combinations are two kinds of functions-- and the drop-down list. Under normal circumstances, the list box and the width of the selection box is the same width, but sometimes we need to do is list the width of the fr a me, one will enable us to better do our election of the things. To have this function, I wrote the following this function. First of all in your dialog box to add one of the news WM_CTLCOLOR handle, or use the inheritance CComboBox category, but which add the following code :
(系统自动生成,下载前可以参看下载内容)
下载文件列表
vc界面.txt