Search code examples
winapiiwebbrowser2

Manifest or Theme/Style for a IWebBrowser2 control?


The IWebBrowser2 control has password edit boxes which are squares. This happened many years ago if you were on an XP machine, and you had a password edit field without a manifest file, you would get squares (no character found for the * they put in there with that font). My application has a manifest file. However I don't know how to give a manifest or set the theme or style of the control that is created. Any ideas?

Thanks!


Solution

  • Specify DOCHOSTUIFLAG_THEME in your implementation of IDocHostUIHandler.