资 源 简 介
自动完成的复合框的实现在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 CA