The HTMLDocumentEvents2 interface inherits from the IUnknown interface. HTMLDocumentEvents2 also has these types of members:
The HTMLDocumentEvents2 interface has these events.
Fires on a databound object after successfully updating the associated data in the data source object.
Fires immediately before the object is set as the active element.
Fires before an object contained in an editable element enters a UI Activation state or when an editable container object is control selection.
Fires on a databound object before updating the associated data in the data source object.
Fires when data changes in the data provider.
Fires when the user clicks the left mouse button on the object.
Fires when the user clicks the right mouse button in the client area, opening the context menu.
Fires periodically as data arrives from data source objects that asynchronously transmit their data.
Fires when the data set exposed by a data source object changes.
Fires to indicate that all data is available from the data source object.
Fires when the user double-clicks the object.
Fires on the source object when the user starts to drag a text selection or selected object.
Fires on a databound object when an error occurs while updating the associated data in the data source object.
Fires for an element just prior to setting focus on that element.
Fires for the current element with focus immediately after moving focus to another element.
Fires when the user presses the F1 key while the client is the active window.
Fires when the user presses a key.
Fires when the user presses an alphanumeric key.
Fires when the user releases a key.
Fires when the user clicks the object with either mouse button.
Fires when the user moves the mouse over the object.
Fires when the user moves the mouse pointer outside the boundaries of the object.
Fires when the user moves the mouse pointer into the object.
Fires when the user releases a mouse button while the mouse is over the object.
Fires when the wheel button is rotated.
Fires when a property changes on the object.
Fires when the state of the object has changed.
Fires to indicate that the current row has changed in the data source and new data values are available on the object.
Fires just before the data source control changes the current row in the object.
Fires when rows are about to be deleted from the recordset.
Fires just after new rows are inserted in the current recordset.
Fires when the selection state of a document changes.
Fires when the object is being selected.
Fires when the user clicks the Stop button or leaves the document.
Send comments about this topic to Microsoft
Build date: 1/23/2012