Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

behaviorCookie property

Retrieves a cookie identifying the rendering behavior on which this event was fired.


HRESULT value = object.get_behaviorCookie(long* p);

Property values

Type: long

the behavior cookie.


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 IHTMLElement2::addBehavior method.



Community Additions

© 2015 Microsoft