使用edgehtml而不是MSHTML [英] Using edgehtml instead of MSHTML

查看:89
本文介绍了使用edgehtml而不是MSHTML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们开发了一个Windows桌面HTML / XSL编辑应用程序,使用MFC / ATL / COM技术用C ++编写,严重依赖于MSHTML的IHTML * COM接口,如IHTMLElementPtr,IHTMLDocumentPtr,IWebBrowser2等,使其易于使用建立网站的最终用户。



我们现在正在考虑在我们的应用程序中使用EdgeHTML而不是MSHTML。我一直在寻找如何使用C ++编写的EdgeHTML创建一个简单的编辑应用程序的示例,以便开始找出所需内容以及EdgeHTML如何作为HTML编辑器工作。我找不到任何有用的东西是不成功的,即一个完整的示例应用程序。



我们必须使用C ++作为我们的编程语言。



任何人都可以帮助我们如何开始,即解释,提供或建议我在哪里可以找到如上所述的可用,有效的示例应用程序?



所有我们需要的是开始使用的东西。



提前致谢



我尝试了什么:



谷歌搜索html编辑器edgehtml,但没有找到任何有用的东西......但

We have developed a Windows Desktop HTML/XSL editing application, written in C++ using MFC/ATL/COM technologies, relying heavily on MSHTML's IHTML* COM interfaces, like IHTMLElementPtr, IHTMLDocumentPtr, IWebBrowser2, and so on, making it easy for an end user to build a website.

We are now looking at using EdgeHTML instead of MSHTML in our application. I have been searching for examples of how to create a simple editing application using EdgeHTML written in C++ to get started with finding out what's needed and how EdgeHTML works as an HTML editor. I have been unsuccessful in finding anything useful, ie, a full sample application.

We have to use C++ as our programming language.

Can anyone please help us in how to get started, ie, explain, provide or suggest where I can find a useable, functioning sample application as described above?

All we need is something to get started with.

Thanks in advance

What I have tried:

Google search of html editor edgehtml, but nothing useful has been found... yet

推荐答案

只需尝试使用最新版本的Microsoft Visual Studio 2015 for Windows 10和Microsoft Edge浏览器支持。您也可以下载并试用Embarcadero RAD Studio 10 Seattle,它完全支持Windows 10开发功能。
Just try using the latest version Microsoft Visual Studio 2015 for Windows 10 and Microsoft Edge browser support. You can also download and try Embarcadero RAD Studio 10 Seattle, which fully supports Windows 10 development features.


我认为您不能在应用程序中托管Edge实例

这不会提供任何有用的东西,即使你可以



如果你需要一些HTML5支持,那么你可以使用 CEF [ ^ ] BSD许可



我不确定CEF是否有内置编辑支持,

但你可以实现一个javascript基于设计者,如果不存在内置支持,就像在线布局设计师
I do not think that you can host a Edge instance in your application
That will not provide anything useful ,even if you can

If you need some HTML5 support then you can use CEF[^] BSD-licensed

I am not sure wheter CEF has a build-in editing support ,
but you can implement a javascript based designer if build-in support does not exist , just like online layout designers


这篇关于使用edgehtml而不是MSHTML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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