开发者

How to handle HTML rendering in WebBrowser control?

开发者 https://www.devze.com 2022-12-30 13:06 出处:网络
Is any way to handle a WebBrowser control event when HTML page is started to render? Edit. For example, in asp.net we have OnRender, OnPreRender, OnLoad, OnPreLoad events of web-page life-cycle. OnLo

Is any way to handle a WebBrowser control event when HTML page is started to render?

Edit. For example, in asp.net we have OnRender, OnPreRender, OnLoad, OnPreLoad events of web-page life-cycle. OnLoad in asp.net is something like Navigated for Web开发者_如何学CBrowser, the idea is to handle event similar to OnPreRender.


You can handle events from the DWebBrowserEvents2 Interface. http://msdn.microsoft.com/en-us/library/aa768283(VS.85).aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消