WebView for IE will freeze the UI when it started to run the script of the website

Hi,

After the WebView for IE start to load the website, the UI will freeze.For example, load the GMail will freeze the UI about 3 seconds.

I write some Event handlers, and found that the UI will block after wxEVT_WEBVIEW_NAVIGATED until wxEVT_WEBVIEW_LOADED

It seems that when the MSHTML started to run the javascript, wx will block.

Which events_handler block the wx mainloop?Can we solve it?

I read some source code of the WevView and found it realized the methods of the async ActiveX’s API.

Do we have methods that the ActiveX Host will not block the wx MainLoop?

Thanks

You might try embedding Chrome instead of IE:

https://code.google.com/p/cefpython/

-Czarek

···

On Sunday, December 29, 2013 6:10:24 PM UTC+1, bear xu wrote:

Hi,

After the WebView for IE start to load the website, the UI will freeze.For example, load the GMail will freeze the UI about 3 seconds.