mark kwan
Posts: 4
Joined: 2010-04-26
|
Hi, when I intercept either a mouse move or a mouse down (even if doing nothing), it causes dragging on an html page to no longer work. It also doesn't allow any editing, for example, goto www.google.com and try to enter a search term. I can't click on the edit box to type a search term, I can't tab to it.
I've also tried setting pEvtObj.cancelBubble to true/false, pEvtObj.returnValue to true/false. None of the 4 possible combinations work.
//test code
void doSomethingIHTMLEventObj pEvtObj)
{
}
private void IEModule_DocumentComplete(object pDisp, string url)
{
((mshtml.HTMLDocumentEvents2_Event)this.HTMLDocument).onmousemove +=
new HTMLDocumentEvents2_onmousemoveEventHandler(doSomething);
}
Nevermind, I found the solution (below)
*** http://www.codeproject.com/KB/toolbars/MicrosoftMshtml.aspx |
|
Andrei Smolin
Add-in Express team
Posts: 18825
Joined: 2006-05-11
|
Thank you, Mark!
Andrei Smolin
Add-in Express Team Leader |
|