MFC——属性页对话框的创建
来源:互联网 发布:时间管理的软件 编辑:程序博客网 时间:2024/06/04 01:29
1,首先创建几个属性页对话框,并且修改其的ID号
2,使用类向导选项建立相关属性对话框页的类,这个类基于CPropertyPage类,就可以把一个界面与一个类相关起来
3,根据MSDN手册可知:
Objects of class CPropertySheet represent property sheets, otherwise known as tab dialog boxes. A property sheet consists of a CPropertySheet object and one or more CPropertyPage objects. A property sheet is displayed by the framework as a window with a set of tab indices, with which the user selects the current page, and an area for the currently selected page.
必须建立一个基于 CPropertySheet类的子类。
4,Even though CPropertySheet is not derived from CDialog, managing a CPropertySheet object is similar to managing a CDialog object. For example, creation of a property sheet requires two-part construction: call the constructor, and then call DoModal for a modal property sheet or Create for a modeless property sheet. CPropertySheet has two types of constructors: CPropertySheet::Construct and CPropertySheet::CPropertySheet.
将创建完的属性对话框页加载进入这个类中(新建属性对话框页的几个相关变量,在其构造函数中使用AddAddPage函数)
5,在View类中新建一个对话框,用于显示列表
- MFC——属性页对话框的创建
- MFC属性页和向导对话框的创建
- MFC 一般属性页对话框的创建和显示
- 查看文章 MFC创建属性页对话框
- MFC的属性页创建—vs2012
- VS2010/MFC编程入门之十四(对话框:一般属性页对话框的创建及显示)
- VS2010/MFC编程入门之十四(对话框:一般属性页对话框的创建及显示)
- VS2010/MFC编程入门之十五(对话框:一般属性页对话框的创建及显示)
- VS2013/MFC编程入门之十四(对话框:一般属性页对话框的创建及显示)
- C++ MFC / VS2013 之十三(对话框:一般属性页对话框的创建及显示)
- MFC属性页对话框
- MFC创建属性对话框出现未声明的标识符
- MFC属性页对话框的编程
- MFC中创建属性页或者向导对话框
- VS2010/MFC编程入门之十五(对话框:一般属性页对话框的创建及显示)【转】
- MFC创建属性对话框(1)
- MFC创建属性对话框(2)
- VS2010&MFC对话框编程(3)——属性页对话框
- 在AngularJs中怎么设置请求头信息(headers)及不同方法的比较
- 软件文档概述(一)
- 斯坦福数据挖掘不同版本课件讲局部敏感哈希中MinHash的理解
- 字符串匹配的KMP算法
- VS2010输出标准信息(stdout)到output窗口
- MFC——属性页对话框的创建
- 黑马程序员—Java基础—IO4
- web.xml 通过contextConfigLocation配spring 的方式
- win7/9/10 U盘启动盘的制作
- uiautomator使用
- 可拖动的圆形进度条
- EM-期望最大化算法
- 10001---JavaWeb开发基础--初识Tomcat
- 数据库水平切分的实现原理解析