SHDocVw.TInternetExplorer.InvokeEvent
Delphi
procedure InvokeEvent(DispID: TDispID; var Params: TVariantArray); override;
C++
virtual void __fastcall InvokeEvent(int DispID, System::Win::Comobj::TOleVariantArray &Params);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | SHDocVw.pas SHDocVw.hpp |
SHDocVw | TInternetExplorer |
Description
Dispatches an event from the COM server to the appropriate event handler.
SHDocVw.TInternetExplorer.InvokeEvent inherits from Vcl.OleServer.TOleServer.InvokeEvent. All content below this line refers to Vcl.OleServer.TOleServer.InvokeEvent.
Dispatches an event from the COM server to the appropriate event handler.
InvokeEvent descendants use InvokeEvent internally to link their event handlers to events on the COM server.
DispID is the dispatch ID for the appropriate event handler.
Params passes the parameters of the event handler as an array of OleVariants.
As implemented in InvokeEvent, InvokeEvent does nothing, because InvokeEvent has no events. Descendants that surface events from a COM server override this method so that the event sink specified by EventDispatch can pass events on to the appropriate event handlers.