Basically I added a little bit of code to allow for invoking LoadString() on the CEF control.
It works, and I added a added a test method to the two example apps, but there are a few "issues" remaining to be aware of:
I wanted to keep the naming consistent by using LoadString() everywhere. However, as far as I can tell, this clashed with the LoadString/LoadStringW defined in winuser.h and I've no idea how to work around this : ). Instead I named it LoadHtml.
The CEF control appears to require a valid URL to be included with LoadString(). For my needs, I don't need this and hardcoded about:blank. If necessary I can change the definition to allow a user to specify a value.
The file CefSharp.WinForms.Example/Browser.Designer.cs was changed a bunch by the Visual Studio designer. Again, something I can work around if needed.
Fully prepared to have this rejected : )
Basically I added a little bit of code to allow for invoking
LoadString()
on the CEF control.It works, and I added a added a test method to the two example apps, but there are a few "issues" remaining to be aware of:
LoadString()
everywhere. However, as far as I can tell, this clashed with theLoadString
/LoadStringW
defined in winuser.h and I've no idea how to work around this : ). Instead I named itLoadHtml
.LoadString()
. For my needs, I don't need this and hardcodedabout:blank
. If necessary I can change the definition to allow a user to specify a value.CefSharp.WinForms.Example/Browser.Designer.cs
was changed a bunch by the Visual Studio designer. Again, something I can work around if needed.