I am programmer in c#. Now i need to get events of Microsft Web
Browser.I Try it by getting the
browser1.document .
What i did is shown below , for getting context menu event
m_ActiveHTMLClass=(mshtml.HTMLDocumentClass ) axWebBrowser1.Document;
m_ActiveHTMLClass.HTMLDocumentEvents2_Event_oncontextmenu+=new
HTMLDocumentEvents2_oncontextmenuEventHandler(m_ActiveHTMLClass_HTMLDocumentEvents2_Event_oncontextmenu);
private bool
m_ActiveHTMLClass_HTMLDocumentEvents2_Event_oncontextmenu(IHTMLEventObj
pEvtObj)
{
//My codes
return false;
}
I got the context menu event but after this event is added context menu
is not shown in browser..
What is the solution ....
Help me if anyone knows
Thanks & Regards
Krishnadevan.K