1

In .NET WebBrowser Control, there is a Property named "ObjectForScripting". As you call window.external in Javascripts, it calls then the Function in .Net Code.

I'm wondering if this exists also in C++ wxWebView? Or maybe in another C++ GUI Library WebControl..

RaphaelH
  • 2,144
  • 2
  • 30
  • 43
  • 1
    If you need to ask then the answer is probably no. The Winforms browser has a pretty strong implementation for the hosting interfaces. Search the library code for IDocHostUIHandler, GetExternal() method. – Hans Passant Oct 24 '12 at 12:16

1 Answers1

1

There is nothing like this in wxWebView at the moment, just the simple RunScript method. However there has been some work on doing this using the Webkit based wxWebView backends, more information is available here.

SteveL
  • 1,811
  • 1
  • 13
  • 23