Jump to content

Where does DWebBrowserEvents2 come from ?


Recommended Posts

Hi

I believe that DWebBrowserEvents2 interface enables an application to receive event notifications from a WebBrowser control related to InternetExplorer.Application.1 from the ieframe.dll component PROGID Shell.Explorer.2

Available Event trickers...

BeforeNavigate

BeforeNavigate2

ClientToHostWindow

CommandStateChange

DocumentComplete

DownloadBegin

DownloadComplete

FileDownload

NavigateComplete

NavigateComplete2

NavigateError

NewProcess

NewWindow

NewWindow2

NewWindow3

OnFullScreen

OnMenuBar

OnQuit

OnStatusBar

OnTheaterMode

OnToolBar

OnVisible

PrintTemplateInstantiation

PrintTemplateTeardown

PrivacyImpactedStateChange

ProgressChange

PropertyChange

RedirectXDomainBlocked

SetPhishingFilterStatus

SetSecureLockIcon

StatusTextChange

ThirdPartyUrlBlocked

TitleChange

UpdatePageStatus

WindowActivate

WindowClosing

WindowMove

WindowResize

WindowSetHeight

WindowSetLeft

WindowSetResizable

WindowSetTop

WindowSetWidth

WindowStateChanged

Kjactive

Edited by kjactive
Link to comment
Share on other sites

yes, I wanna know that which group it's related to ?

ps : actually, I can't find it with OLE/COM viewer tool

Events is offen automatically activated and always available 'so to speak' - ObjEvent makes interfase with that part of a Com object, some of the larger objects has more than one events system running around, like the MSWebDVD component has a lot of event handle, some has to be activated like the 'Tuner' component and other automatically opened like the navigation events - there are no rules actually but my experiens is that if the events interface is not mention sepperately in the topics as a component, it's automatically opened and always available...

The WebBrowser control component contain two browsers and two event interfaces both available to the same browser

insert this code in a script

$ObjIEEvent = ObjEvent($ObjIE,"IEEvent_","DWebBrowserEvents")
$ObjIEEvent2 = ObjEvent($ObjIE,"IEEvent2_","DWebBrowserEvents2")

Func IEEvent_BeforeNavigate()
ConsoleWrite('IEEvent_BeforeNavigate' & @CRLF)
EndFunc

Func IEEvent2_BeforeNavigate2()
ConsoleWrite('IEEvent2_BeforeNavigate2' & @CRLF)
EndFunc

http://msdn.microsoft.com/en-us/library/aa768283(VS.85).aspx

kjactive Posted Image

Edited by kjactive
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...