使用MFC在对话框中添加对话框 [英] Add a Dialog in a Dialog with MFC

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

问题描述

如何在MFC的对话框中添加对话框.
我可以帮我吗?
谢谢!

How can i add a dialog in a dialog in MFC.
Can i help me?
THANKS!!

推荐答案

工作原理相同.您创建对话框类的实例并调用它.不管它在哪里.
It works the same. You create an instance of the dialog class and call it. It doesn''t care where it is.


在MFC中执行此操作的方法是创建可重用的对话框并将其变成自定义控件.自从我上一次这样做已经有很多年了,但是请看一下:
创建自定义控件
在MFC中创建嵌入式对话框.
The way to do this in MFC is to create your re-usable dialog and make it into a custom control. It''s been many years since I did this last, but have a look at:
Creating Custom Controls and
Creating embedded dialogs in MFC.


您可以在父对话框中使用制表符顺序对话框.请检查链接
在MFC中创建嵌入式对话框 [
You can use tab order dialogs in your parent dialog. Please check the link
Creating embedded dialogs in MFC[^]


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

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