登录
首页 » 界面开发 » SDI for the Multi

SDI for the Multi

于 2022-02-14 发布 文件大小:63.80 kB
0 94
下载积分: 2 下载次数: 1

代码说明:

在SDI中进行多视图切换的小程序,在一些情况下,应用程序有许多信息要显示,当一个窗口内显示不下时,VC提供的MDI应用程序可以解决这个问题,但是如果应用程序只是对单个文档,采用多种方式显示,则采用SDI更合适。那么,如何在单文档应用程序中实现多视图呢?缺省情况下,派生类的构造函数是pretected类型的,必须将它改为public类型,因为我们将会动态生成派生视图类并切换活动的视图。也可以一次生成所有的视图,但是这样造成系统资源的极大浪费。-SDI for the Multi-View handoff small procedures, in some cases, there are many applications of information to show that, when a window display at the least, the VC MDI applications can solve this problem, but if the application procedure is a pair of individual files, use various methods to show , using SDI more appropriate. How, then, in single file applications to achieve multi-view? By default, derived class constructor is pretected type, it must be changed to public type, because we will be dynamically generated and derived View Class View switching activities. One can also generate all views, but this system caused a tremendous waste of resources.

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

发表评论

0 个回复

  • VS2005+ C++ MFC+OPENGL显示三维显示环境
    应用背景运用Visual Studio 2005 中的 C++ 开发环境,结合OPENGL开发出一个3D显示的环境,执行本程序需要下载OPENGL开发环境包(SDK),具体的配置方法如下:对相应库文件进行放置。把.h文件放到Program FilesMicrosoft Visual Studio 8VCIncludeGL文件夹中,如果没有GL文件夹就自己建一个,我的就是自己建的。把.lib文件放到Program FilesMicrosoft Visual Studio 8VClib文件夹中;把.dll文件放到system32文件夹中。 建立工程后,选择项目->属性-> CC++-->preprocessor(预处理器)-->preprocessor definition(预处理器定义),添加GLUT_BUILDING_LIB,中间用分号隔开。 然后点击linker(链接器)->Input(输入)->additional dependencies(附加依赖项)添加glut32.lib Opengl32.lib Glu32.lib 结束,这样就可以使用了。关键技术本程序用于初始学习Visual Studio C++ 2005 结合 OPENGL开发包进行3D环境开发的入门学习,在本程序执行完成后,可以实现观察3D文件格式的显示,学过VC++ 2005 + MFC +OPENGL的可以快速将其添加到自已的代码中去
    2023-06-07 22:40:04下载
    积分:1
  • Character Statistics Statistics txt file browser in the different number of lett...
    字符统计器 统计txt文档里的不同字母和符号的个数并返回结果,结果包含字符个数及列出未出现的字符-Character Statistics Statistics txt file browser in the different number of letters and symbols and return results containing the number of characters and list of characters does not appear
    2022-01-25 15:35:05下载
    积分:1
  • counter procedures can be revised procedures for automatic memory before each am...
    程序计数器 可以将一段程序进行修改 而后自动记忆每次修改的版本 用户可在C盘相应的文件夹中查看: 修改结果EG第几行修改了或者删除了-counter procedures can be revised procedures for automatic memory before each amended version of the C users can set the corresponding folder View : Amending the results EG line number amended or deleted
    2022-05-30 20:17:07下载
    积分:1
  • MFC实现液位控制系统
    资源描述通过MFC实现简单的液位控制系统,含有PID算法,并含有一个按钮贴图的类,功能很强大。
    2022-05-09 13:00:43下载
    积分:1
  • 本程序对电网的控制作了详细的说明和少量的说明…
    此程序对Grid控件进行了详尽的介绍,且代码量小,很容易理解,并对其背景颜色进行填充,是Grid控件初级开发的一个理解台阶-this procedure right Grid Control for a detailed explanation and a small amount of code, it is easy to understand, and its background color to fill the Grid Control is the primary understanding of the development of a higher level
    2022-05-23 14:51:25下载
    积分:1
  • 一个以MSHFLEXGRID控件为基础编写的自定义控件,可以输入文字,可以显示文字,每一格可以有不同的颜色....
    一个以MSHFLEXGRID控件为基础编写的自定义控件,可以输入文字,可以显示文字,每一格可以有不同的颜色.-a MSHFLEXGRID Controls prepared on the basis Uncertainty can enter text, can display text of each can be different colors.
    2022-07-20 07:28:02下载
    积分:1
  • FlexGrid to text
    FlexGrid转文本-FlexGrid to text
    2022-01-26 05:54:00下载
    积分:1
  • VC mFC 对话框 动态曲线实时仿真系统,运用定时器,动态绘制曲线图。...
    VC mFC 对话框 动态曲线实时仿真系统,运用定时器,动态绘制曲线图。-VC mFC dialog box, real-time simulation system of dynamic curves and dynamic graph drawing.
    2023-06-05 23:40:04下载
    积分:1
  • 在程序中实现窗口的任意分割,就像Visual Studio或Windows所做的那样。...
    在程序中实现窗口的任意分割,就像Visual Studio或Windows所做的那样。-procedures in achieving the arbitrary division of the window, like Visual Studio or Windows do.
    2022-05-07 21:24:18下载
    积分:1
  • 表头冻结
    基于 jquery , 可实现锁定表格, 冻结表头, 行, 列, 简单实用;
    2022-03-25 00:14:04下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载