MFC Dialogbox问题。 [英] MFC Dialogbox Question.

查看:106
本文介绍了MFC Dialogbox问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我不想在主要应用程序工作时关闭弹出对话框



我该怎么做?我已经使用DoModel添加了弹出对话框。



在我关闭弹出对话框之前,它不允许我在主对话框上工作。



FYI:我使用弹出对话框作为我的MFC应用程序的帮助。



或我如何添加帮助在MFC中(项目没有上下文敏感帮助)?



谢谢。

解决方案

如果你是在谈论模态对话框时,在关闭对话框之前无法返回主窗口,因为这是模式对话框应该表现的方式。



您可以尝试使用非模态对话框吗?



希望这会有所帮助。


Easy找到信息。从这里开始:

http://msdn.microsoft.com/en-us /library/5w2h2y4y.aspx [ ^

Hi,

I don,t want to close pop up dialogbox while I am working on Main application

How do i do that? I have added pop up dialogbox using DoModel.

It won't allow me to work on main dialogbox until I close pop up dialog box.

FYI : I am using pop up dialog box as "help" to my MFC application.

Or How I can add help in MFC (project is without context sensitive help)?

Thank you.

解决方案

If you are talking about a modal dialog, you cannot go back to the main window until the dialog is closed, because it is the way a modal dialog is supposed to behave.

You may try to use a non-modal dialog instead?

Hope this helps.


Easy to find informations. Start here:
http://msdn.microsoft.com/en-us/library/5w2h2y4y.aspx[^]


这篇关于MFC Dialogbox问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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