AxWebBrowser在DocumentComplete事件中加了HTMLDocumentEvents2_Event事件后问题
AxWebBrowser在DocumentComplete事件中挂上点击事件后,在浏览器控件中打开的页面在输入框中键盘敲什么都不能输入,点击等操作也没反应,求大神帮助
IHTMLDocument hd = (IHTMLDocument)data.Browser.Document; mshtml.HTMLDocumentEvents2_Event iEvent =(mshtml.HTMLDocumentEvents2_Event)hd;
iEvent.onclick += new HTMLDocumentEvents2_onclickEventHandler(iEvent_onclick);
bool iEvent_onclick(IHTMLEventObj pEvtObj)
{
if(pEvtObj.srcElement.tagName=="")
{
//do
}
return true;
}
--------------------编程问答-------------------- 求助
补充:.NET技术 , C#