文件名称:MultiView1
- 所属分类:
- 界面编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 64kb
- 下载次数:
- 0次
- 提 供 者:
- 蔡*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MultiView1
..........\MainFrm.cpp
..........\MainFrm.h
..........\MultiView.aps
..........\MultiView.clw
..........\MultiView.cpp
..........\MultiView.dsp
..........\MultiView.dsw
..........\MultiView.h
..........\MultiView.ncb
..........\MultiView.opt
..........\MultiView.plg
..........\MultiView.rc
..........\MultiViewDoc.cpp
..........\MultiViewDoc.h
..........\MultiViewView.cpp
..........\MultiViewView.h
..........\ReadMe.txt
..........\res
..........\...\MultiView.rc2
..........\Resource.h
..........\StdAfx.cpp
..........\StdAfx.h
..........\View2.cpp
..........\View2.h
..........\View3.cpp
..........\View3.h
..........\View4.cpp
..........\View4.h
..........\说明.txt
..........\MainFrm.cpp
..........\MainFrm.h
..........\MultiView.aps
..........\MultiView.clw
..........\MultiView.cpp
..........\MultiView.dsp
..........\MultiView.dsw
..........\MultiView.h
..........\MultiView.ncb
..........\MultiView.opt
..........\MultiView.plg
..........\MultiView.rc
..........\MultiViewDoc.cpp
..........\MultiViewDoc.h
..........\MultiViewView.cpp
..........\MultiViewView.h
..........\ReadMe.txt
..........\res
..........\...\MultiView.rc2
..........\Resource.h
..........\StdAfx.cpp
..........\StdAfx.h
..........\View2.cpp
..........\View2.h
..........\View3.cpp
..........\View3.h
..........\View4.cpp
..........\View4.h
..........\说明.txt