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

SDI for the Multi

于 2022-02-14 发布 文件大小:63.80 kB
0 147
下载积分: 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 个回复

  • 对话框视图中添加按钮
    资源描述视图中添加按钮 工具栏的使用 很好 对于初学肯定会有一定的帮助,希望和大家一起学习加油
    2022-04-29 20:02:14下载
    积分:1
  • 总线预订系统
    这是可以用来搜索巴士座位库存和书可售门票的总线预订系统代码
    2022-08-13 13:42:13下载
    积分:1
  • vc dialog sometimes unable to meet the demand. According to their need to create...
    vc的对话框有时不能满足需求。根据自己的需要创建具有个性的对话框。-vc dialog sometimes unable to meet the demand. According to their need to create personalized dialog box.
    2022-03-07 09:47:17下载
    积分:1
  • 多种排序方法效率比较
    资源描述程序中给出了各种经常使用的排序方法的源代码,并将代码存放在各自的函数中可以随时调用。通过生成随机数的方法,生成设置数量的随机数,通过比较各种方法排序所用的时间对其效率进行比较。最后做成了C++ MFC界面,方便使用。
    2023-02-02 14:10:04下载
    积分:1
  • 剪贴板功能实现,对所有法律的详细描述,并具有B。
    剪贴板功能的实现,对于所有的定律都有详细的说明,并且有基本的绘图功能实现。
    2023-08-03 01:30:06下载
    积分:1
  • ATL customized browser bar, toolbar and desktop toolbar lt; IE programming gt; R...
    ATL 实现定制的 IE 浏览器栏、工具栏和桌面工具栏 < IE编程 > 最近,由于工作的要求,我需要在 IE 上做一些开发工作。于是在 MSDN 上翻阅了一些资料,根据 MSDN 上的说明我用 ATL 胜利完成了“资本家老板”分配的任务。-ATL customized browser bar, toolbar and desktop toolbar lt; IE programming gt; Recently, the job requirements, I need IE to do some development work. So MSDN read some information, according to the instructions on the MSDN I use ATL victory completed a "capitalist bosses" for the task.
    2023-03-25 02:00:03下载
    积分:1
  • VCLSKIN, very good interface programming tools.
    VCLSKIN,非常好的界面编程工具。-VCLSKIN, very good interface programming tools.
    2022-01-25 17:11:24下载
    积分:1
  • 皮肤代码
    皮肤代码,很好用的-skin code of good
    2022-11-24 20:50:03下载
    积分:1
  • 一个实际应用程序,具有界面显示和下位及通信及汉字显示等功能....
    一个实际应用程序,具有界面显示和下位及通信及汉字显示等功能.-A practical application, with the interface display and the next bit and communications and display features such as Chinese characters.
    2022-04-24 17:43:33下载
    积分:1
  • qt计算器
    在一般的计算机上加了几个运算,如算幂,阶乘等,还有三角函数,其中不是用的UI,而是手写出的界面
    2022-04-07 01:08:27下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载