如何在基于对话框的MFC中显示HTML页面? [英] How to show a html page in dialog based mfc?

查看:514
本文介绍了如何在基于对话框的MFC中显示HTML页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个基于对话框的应用程序创建的项目,但是在创建开始时没有选择使用html.如何在我的对话框中显示网页,而不是从头开始.

I have developed a project which is created as dialog based application but without selecting use html at the beginning of creation. How to show a web page in my dialog with out starting from beginning.

推荐答案

如果可以找到MFC Web浏览器控件,则可以将其嵌入对话框中,然后您只需要让浏览器导航到您的html文件即可.

链接 [
If you could find a MFC web browser control then you can embed that in your dialog then you just have to ask that browser to navigate to your html file.

this link[^] will tell you how to get a browser in dialog.


这篇关于如何在基于对话框的MFC中显示HTML页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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