如果我完成了一个项目,如何在新项目中应用Dlg类 [英] If I have finished a project,How to apply a Dlg Class in the new project

查看:80
本文介绍了如果我完成了一个项目,如何在新项目中应用Dlg类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

旧项目基于The Dlg.
新项目基于单个文档
我想在新项目的菜单后面显示旧项目的主要dlg.

谁可以提供一些建议?

谢谢~~!

The old Project is based on The Dlg.
The new Project is based on the single Document
I want to show the main dlg of the old project behind the menu in the new project.

who can give some advice?

thanks~~!

推荐答案

在这里看看:

教程-使用MFC的无模式对话框 [
Take a look here:

Tutorial - Modeless Dialogs with MFC[^]

You will have to include the class, the resource... or put the old dialog in a dll to use it from your app...

Definitely you are not giving a lot of information here (this is for sure why you are not getting answers).

You will have to manage the click on the menu item and then call the dialog using domodal or creating it modelessly.

Check the differences between both modes, decide and try it. If you need further help come back with samples on what you''ve tried...

Hope this helps.


没有人给出答案.....
No one give a answer.....


这篇关于如果我完成了一个项目,如何在新项目中应用Dlg类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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