Internet Exploerer event model

Hi,

I am looking for some information about how to catch events of Internet Explorer,
for example I want to perform some action when new URL was entered.

Best regards
Roman.


Answer this question

Internet Exploerer event model

  • varunsagii

    Hi Roman,

    Where exactly are you going to be catching the events from Is this an extension to IE or an external applicaiton

    Thanks
    -Dave



  • Vl.K

    The only events exposed by Internet Explorer are exposed in the DWebBrowserEvents2 interface.

    http://msdn2.microsoft.com/en-us/library/ms850276.aspx

    If you are hoping to be notified on a character by character basis (such as when the user is typing, so as to control the autocomplete logic) you won't find any such event. However, IE starts a new navigation when the URL is entered, which triggers BeforeNavigate2. You can respond to this event by performing some action with the URL (or Headers, PostData, Flags, and so on) or cancel the event.



  • Internet Exploerer event model