如何将对话框加载到formview [英] how to load a dialog box to a formview

查看:89
本文介绍了如何将对话框加载到formview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的mfc应用程序中有一个formview,其中包含左侧的按钮作为菜单.单击不同的菜单按钮是否可以将不同的对话框加载到该formview的客户端区域,或者加载到诸如formview中的自定义控件或组框之类的某些控件

预先感谢.

Hi,

I have a formview in my mfc application which contain buttons on left side as menu. Is it possible to load different dialog boxes to the client area of that formview on clicking different menu buttons,or to some controls like custom control or groupbox in formview

Thanks in advance.

推荐答案

对话框是模态窗口,旨在仅在模态模式下用作顶级窗口,也就是说,直到它的模态完成,对话框关闭. CFormView实例是控件的容器.至少可以说,将一个人粘在另一个人的想法听起来很奇怪.没有道理.

—SA
A dialog box is a modal window designed to work as a top-level window in a modal mode only, that is, not giving access until its modal state finished and the dialog is closed. A CFormView instance is a container for controls. The idea of sticking one into another sounds weird to say the least. Makes no sense.

—SA


这篇关于如何将对话框加载到formview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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