Fires on a databound object after successfully updating the associated data in the data source object.
void onafterupdate( IHTMLEventObj *pEvtObj );
No return value.
The DISPID for this event is defined in mshtmdid.h. Use this value to identify the event handler when implementing IDispatch::Invoke.
Bubbles Yes Cancels No To invoke Change the data that the object contains. Default action Confirms that data has been transferred.
Event Object Properties
The IHTMLEventObj interface contains additional information about the current event. When the onafterupdate event is fired, you can use the IHTMLWindow2::event property to retrieve an IHTMLEventObj interface. To obtain an alternate interface pointer such as IHTMLEventObj2 or IHTMLEventObj3, call QueryInterface on the object.
IHTMLEventObj::altKey Gets a value that indicates the state of the ALT key. IHTMLEventObj2::altKey Gets a value that indicates the state of the ALT key. IHTMLEventObj3::altLeft Gets a value that indicates the state of the left ALT key. IHTMLEventObj::cancelBubble Sets or retrieves whether the current event should bubble up the hierarchy of event handlers. IHTMLEventObj3::ctrlLeft Sets or retrieves the state of the left CTRL key. IHTMLEventObj3::shiftLeft Retrieves the state of the left SHIFT key. IHTMLEventObj::srcElement Gets the object that fired the event. IHTMLEventObj2::srcElement Gets or sets the object that fired the event. IHTMLEventObj::type Gets the event name from the event object. IHTMLEventObj2::type Gets or sets the event name from the event object.
Refer to the specific event object for additional event properties.
This event only fires when the object is databound and an HTMLMarqueeElementEvents2::onbeforeupdate event has fired (for example, because the data has changed).