登录
首页 » 界面开发 » 我们经常会使用到组合框,而组合框是是有2种功能的

我们经常会使用到组合框,而组合框是是有2种功能的

于 2022-08-02 发布 文件大小:7.35 kB
0 142
下载积分: 2 下载次数: 1

代码说明:

我们经常会使用到组合框,而组合框是是有2种功能的--下拉和列表。一般情况下,列表框的宽度和选择框是一样宽的,但是我们有些时候确实很需要把列表框的宽度变大,一便让我们能更好的看我们要选的东西。   为了能有这个功能,我写了下面的这个函数。首先得在你的对话框中添加一个的WM_CTLCOLOR的消息句柄,或者使用CComboBox的继承类,而且在其中添加下面的代码:-we often use to mix frame, and frames 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 frame, 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 :

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • no compression password, which is used pb9.0
    没有压缩密码,是用pb9.0 -no compression password, which is used pb9.0
    2022-01-27 16:55:48下载
    积分:1
  • 通过图形用户控制小车
    运用基于ARM Cortex-M3内核的stm32单片机,并在其上移植了uc/os II操作系统。此外,为了能更好的进行人机交互,在前面的基础上移植了ucgui。完成了以上的基础准备工作后,制作了一个智能小车控制系统,控制界面是基于ucgui制作的一个图形用户界面,可以控制小车的启停以及速度和方向,运用蓝牙串口实现通信,用k60来控制小车的运动。
    2022-03-24 19:02:05下载
    积分:1
  • 绘制示波器的C代码源程序,举例说明mfc图形绘制过程
    绘制示波器的C代码源程序,举例说明mfc图形绘制过程-mapping oscilloscope C source code, illustration mfc graphics rendering process
    2022-12-01 19:00:03下载
    积分:1
  • 在DATAGRID 里增加CHECKBOX!
    在DATAGRID 里增加CHECKBOX!-Increase in the DataGrid CHECKBOX!
    2022-11-09 03:55:02下载
    积分:1
  • 树状导航
    本实例通过窗口的分割技术将树型视图显示在左边,然后通过树型视图的GetTreeCtrl方法来获得CTreeCtrl对象,通过CTreeCtrl对象接受双击时间来实现导航功能。 实现过程:(1)新建名为TreeNavi的单文档应用程序。 (2)在工程中添加以CTreeView类为基类的新类TreeView;在工程中添加Icon资源。 (3)在TreeView.h文件中添加  #include "afxciew.h" (4)修改TreeNavi.cpp文件中的InitInstance函数中的内容。 (5)在MainFrm.cpp文件中添加WM_CREATECLIENT消息的实现函数 (6)函数OnInitialUpdate实现树型视图的初始化 (7)添加NM_DBLCLK消息的实现函数OnDblclk
    2022-02-04 03:55:39下载
    积分:1
  • qt入门简单小程序
    qt写的跨平台程序源代码,在win7和Ubuntu14.04上都能正常工作。代码功能,节目上以不同颜色,字体,打印出各个字符串。
    2022-02-03 01:37:52下载
    积分:1
  • 该源程序能够实现对信号的调制与解调,且是通过Labview实现的...
    该源程序能够实现对信号的调制与解调,且是通过Labview实现的-The source code can be achieved on the signal modulation and demodulation, and is achieved through the Labview
    2022-10-22 02:50:03下载
    积分:1
  • 比较经典的代码,希望大家
    比较经典的代码,希望大家-more classic code, we hope to s
    2022-01-26 06:22:12下载
    积分:1
  • Tree like menu of friends, we should look at, it is practical. A slight modifica...
    喜欢树形菜单的朋友,应该看看,很实用。稍微修改下就可以用了-Tree like menu of friends, we should look at, it is practical. A slight modification can be used under
    2022-06-21 13:39:20下载
    积分:1
  • 这是一个DOS程序
    这是一个DOS程序-This is a DOS program
    2022-08-10 21:04:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载