Notifies the Dynamic HTML (DHTML) behavior about the progress of parsing the document and the element, to which the behavior is attached.
Syntax
HRESULT Notify( LONG lEvent, VARIANT *pVar );
Parameters
- lEvent
- Long variable that specifies one of the following notification types:
- BEHAVIOREVENT_CONTENTREADY
- Received when the end tag of the element, to which this DHTML behavior is attached, is parsed. This notification indicates that the element can be accessed through a call to IElementBehaviorSite::GetElement.
- BEHAVIOREVENT_DOCUMENTREADY
- Received when the entire document, to which this DHTML behavior is attached, is parsed. This notification is different from the onload event or readyState property, both of which indicate that the entire document and associated content, such as images, has downloaded.
- pVar
- Reserved for future use.
Return Value
Returns S_OK if successful, or an error code otherwise.