Internet Explorer 控件使用 IE7 自己的 ClearType 和字体大小设置,我可以覆盖它们吗?

发布于 2024-07-08 15:09:58 字数 228 浏览 9 评论 0原文

我正在将 IE 控件嵌入到我的 C++ 应用程序中。 问题是,虽然在系统范围内,ClearType 被禁用,但 IE7 有自己单独的设置,除非我也专门禁用它,否则 IE 控件内的文本将被抗锯齿,而应用程序的其余部分则不会。

IE7的字体大小设置也是如此。

对我来说相应地设置 IE7 不会有问题,但它会影响我的应用程序的用户体验。 IE控件的cleartype使用和字体大小可以通过编程控制吗?

I'm embedding an IE control into my C++ application. The problem is that although system-wide, ClearType is disabled, IE7 has its own separate setting, and unless I specifically disable that too, text inside the IE control will be antialiased while the rest of the app will not.

The same goes for IE7's font size setting.

It wouldn't be a problem for me to set up IE7 accordingly, but it would affect the experience of users of my app. Can the IE control's cleartype usage and font size be programmatically controlled?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

离鸿 2024-07-15 15:09:58

根据文档,您可以在 OLE 客户端站点上实现 IDocHostUIHandler 并从 IDocHostUIHandler::GetOptionKeyPath 返回注册表路径。 将使用此注册表路径中的设置而不是用户的设置。

参考文献:

According to the documentation, you can implement IDocHostUIHandler on your OLE client site and return a registry path from IDocHostUIHandler::GetOptionKeyPath. The settings from this registry path will be used instead of the user's settings.

References:

丑丑阿 2024-07-15 15:09:58

IE 控件使用用户设置,因此简短的回答是否定的。

The IE control uses the user settings, so the short answer is no.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文