Location:
Search - CCombo
Search list
Description: 自动完成的复合框的实现在AutoCompleteCombo.cpp和AutoCompleteCombo.h两个文件中,用户可以把这两个文件引入自己的工程中,删除"工程名.clw"文件后退出,再次进入工程系统会提示找不到"工程名.clw"文件,选择"“是(Yes)"重新创建一个,接下来在弹出的对话框里选择"Add all"就可以在新工程中使用CAutoCompleteCombo这个类了(注意引入头文件),我在示例对话框中创建了一个CAutoCompleteCombo类型的变量"m_combo",在对话框的"nInitDialog()"函数中添加了以下语句: // TODO: Add extra initialization here m_combo.AddString("America") m_combo.AddString("British") m_combo.AddString("China") m_combo.AddString("Dalian") m_combo.AddString("England") m_combo.AddString("France") 这样,用户在输入这些字符的头几个字符(不区分大小写)就可以看到自动完成的效果了.-automatic composite frame to complete the realization of the AutoCompleteCombo.cpp and AutoCompleteCombo.h two documents, the user can introduce these two documents of the project, delete the "project name. Clw documents "to withdraw, once again entered the system is not able to find" who works. Clw "document choose "" (Yes), "a re-creation of, the next in the pop-up dialog box you select" Add all "on the new projects CAutoCompleteCombo use of this category (Note the introduction of the first paper), in the example I created a dialog CAutoCompleteCombo type of a variable" m _combo "in the box" nInitDialog () "function to add the following phrase :// TODO : Add extra initialization here m_combo.AddString (" America &quo
Platform: |
Size: 27648 |
Author: wang |
Hits:
Description: MS Office家族产品中常常见到扁平式组合框,本程序利用一个可重用的C++类 CXTFlatComboBox 在自己的程序中轻松实现扁平式组合框,也就是让标准的CComboBox控件外观扁平化。CXTFlatComboBox类是codejoke开发工具包Xtreme Toolkit的一个成员。任何人都可以免费使用这个类的源代码。-MS Office family products often see a combination of flat-frame, the procedures use a reusable C CXTFlatComboBox in their procedures easy combination to achieve a flat box, the standard is to give the appearance of control CComboBox Flat. CXTFlatComboBox category codejoke Development Kit Xtreme Toolkit, a member. Anyone can use this type of free source code.
Platform: |
Size: 68608 |
Author: 清风吴 |
Hits:
Description: 我们经常会使用到组合框,而组合框是是有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 :
Platform: |
Size: 7168 |
Author: 政策 |
Hits:
Description: CJ60Lib是基于MFC基础之上的一个扩展库,主要是改进MFC的下述类:
CCJButton - ( CJButton.cpp and CJButton.h )对CButton的改进。
CCJComboBox - ( CJComboBox.cpp and CJComboBox.h )对CComboBox的改进。
CCJControlBar - ( CJControlBar.cpp and CJControlBar.h )对CControlBar的改进。
CCJFrameWnd - ( CJFrameWnd.cpp and CJFrameWnd.h )
CCJMDIFrameWnd - ( CJMDIFrameWnd.cpp and CJMDIFrameWnd.h )
CCJDockBar - ( CJDockBar.cpp and CJDockBar.h ) -CJ60Lib MFC is based on the basis of an extension. MFC is mainly to improve the following categories : CCJButton- (CJButton.cpp and CJButton.h) CB Utton improvements. CCJComboBox- (CJComboBox.cpp and CJComboBox . h) CComboBox improvements. CCJControlBar- (CJControlBar.cpp and CJCont rolBar.h) CControlBar improvements. CCJFrameWnd- (CJFrameWnd.cpp and CJFrameWnd . h) CCJMDIFrameWnd- (CJMDIFrameWnd.cpp and C JMDIFrameWnd.h) CCJDockBar- (CJDockBar.cpp and CJDockBar.h)
Platform: |
Size: 92160 |
Author: 陈其义 |
Hits:
Description: 一个只能输入数字的CComboBox(类似腾讯QQ登陆框中的号码组合框)-one can only import figures CComboBox (similar QQ landing box numbers portfolio box)
Platform: |
Size: 18432 |
Author: 陈泸华 |
Hits:
Description: 组合框的自绘,用的是DC呀,想画什么都可以。现在是以画一条直线为例,其它的可以类推了!-portfolio drawn from the box, using a DC ah, wanted to paint anything can be. Now is painting a straight line as an example, the other could analogy!
Platform: |
Size: 58368 |
Author: wacel |
Hits:
Description: 介绍如何替换掉具有滚动条的控件(如:CCombox,CListCtrl)的滚动条
的样式;-how to replace rolling with the control (such as : CCombox. CListCtrl) of the rolling style;
Platform: |
Size: 56320 |
Author: wsq |
Hits:
Description: 集成了CListBoxCn、CComboBoxCn、CButtonTR、CEditLu几个重画控件的演示-integrated CListBoxCn, CComboBoxCn. CButtonTR, CEditLu several important component of the display paintings
Platform: |
Size: 369664 |
Author: 陆信天 |
Hits:
Description: vc++,MFC,GDI 绘图程序,一个绘制简单图形的软件.-vc, MFC, GDI drawing procedure, a simple graphics rendering software.
Platform: |
Size: 21504 |
Author: 张超 |
Hits:
Description: MFC icon de bian cheng xu qing shi yong-MFC icon de bian cheng shi yong xu qing
Platform: |
Size: 65536 |
Author: huxuexiang |
Hits:
Description: 一个外老写的一个支持多列显示的Combobox类,不比BCGsoft的差-Written by a veteran of a foreign support multi Combobox column displays the category, than the difference BCGsoft
Platform: |
Size: 11264 |
Author: jsy |
Hits:
Description: 这是我自己学习CCombo box控件时写的一个程序,供大家学习交流!-This is my own learning CCombo box controls to write a program for them to learn from the exchange!
Platform: |
Size: 44032 |
Author: 欧阳克 |
Hits: