2

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?

JeffV
54.8k33 gold badges106 silver badges125 bronze badges
asked Nov 12, 2008 at 20:23

2 Answers 2

1

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:

answered Nov 12, 2008 at 23:32
Sign up to request clarification or add additional context in comments.

Comments

1

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

answered Nov 12, 2008 at 20:33

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.