Click to return to the Reusing Browser Technology home page    
IElementBehavior::Init Me...     IElementBehaviorCategory ...     IElementBehavior Interfac...    
Web Workshop  |  Reusing Browser Technology

IElementBehavior::Notify Method


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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.