Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.