Retrieves a cookie identifying the rendering behavior on which this event was fired.
HRESULT IHTMLEventObj3::get_behaviorCookie(long *p);
- Pointer to a variable of type long that receives the behavior cookie.
Returns S_OK if successful, or an error value otherwise.
The IHTMLEventObj3::behaviorCookie property is only applicable for rendering behaviors.
An element may have more than one attached rendering behavior. The IHTMLEventObj3::behaviorCookie property identifies the rendering behavior that was hit and corresponds to the identifier returned by the addBehavior method.