且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何设置Content-Type的WebBrowser控件的?

更新时间:2022-03-11 07:44:26

尝试添加扩展到您的的IMoniker :: GetDisplayName 实施。这将导致URL标记来看HKEY_CLASSES_ROOT下。?? ?键了解MIME类型。然后,你可以使用网页浏览器的documen 的 IPersistMoniker接口来加载绰号

Try add an extension to your IMoniker::GetDisplayName implementation. This will cause the URL moniker to look under HKEY_CLASSES_ROOT.??? keys for mime types. Then you can use the webbrowser's documen's IPersistMoniker interface to load the moniker.