在基于对话框的应用程序中使用MDI框架 [英] Use MDI framework in a dialog based application

查看:73
本文介绍了在基于对话框的应用程序中使用MDI框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
下面的文章显示了如何将SDI文档/框架/视图体系结构集成到基于对话框的应用程序中:

使用自定义控件在对话框中插入文档/框架/视图 [

Hello Everybody,
The following article shows how to integrate a SDI document/frame/view architecture to a dialog based application:

Inserting a Doc/Frame/View in a dialog using a custom control[^]

Unfortunately this does not work the same way for MDI. Does anybody ever tried to make this happen for MDI?

I try to create a dialog based application with different MDI / SDI frameworks which start on different buttons in the main Dialog.
Regards,
Achim

推荐答案

答案很简单:不要使用MDI!

现在在某些情况下,这种极为不方便的UI样式会有所帮助.几乎任何人都不愿这样做,并且一开始就被认为是Microsoft的错误.通过使用MDI,您只能吓跑客户.首选仅基于一个主窗口进行设计.作为下一个层次结构,您可以使用制表符界面等.

—SA
The answer is simple: don''t use MDI!

There are now situations where this extremely inconvenient UI style helps. Is it totally discouraged by practically anyone and considered to be a Microsoft mistake in first place. By using MDI you can only scare off your customers. Prefer design based on just one main window. As a next level of hierarchy you can use tabbing interface and more.

—SA


答案可能很简单,但对我没有帮助.我需要提供一个具有不同视图的框架,并且SDI仅允许在该框架内部具有一个框架.
The answer may be simple, but it does not really help me. I need to supply a framework with different views and the SDI only allows to have one framework inside the architecture.


这篇关于在基于对话框的应用程序中使用MDI框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆