Attach to Dynamic HTML (DHTML) behavior-specific notifications.
HRESULT retVal = object.RegisterNotification(lEvent);
- lEvent [in]
A value of type LONG that specifies one of the following notification types.
Notify when the end tag of the element is parsed.
Notify when the entire document to which this Dynamic HTML (DHTML) behavior is attached is parsed. This notification is received prior to downloading associated content, such as images.
Notify when a new style is applied to the element to which this Dynamic HTML (DHTML) behavior is attached.
Notify when a behavior is added or removed from a document. Note that there is no notification when a behavior is created in a document by way of the parser.
Notify when the content of the behavior is being saved.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
This method is used to set flags that define the types of notifications that the behavior receives.