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.

[187 byte] By [RomanMandeleil] at [2008-1-25]
# 1

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

DaveMassy at 2007-8-31 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Extension Development...
# 2

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.

JohnSudds-MSFT at 2007-8-31 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Extension Development...