Retrieves a value that identifies the part of a rendering behavior on which this event was fired.
HRESULT IHTMLEventObj3::get_behaviorPart(long *p);
- Pointer to a variable of type long that receives the behavior part identifier.
Returns S_OK if successful, or an error value otherwise.
The IHTMLEventObj3::behaviorPart property is only applicable for rendering behaviors that implement hit testing.
The IHTMLEventObj3::behaviorPart property is set by the IHTMLPainter::HitTestPoint method when an event fires on a rendering behavior. It is a custom property that a rendering behavior can use to identify a specific part of the element that caused the event to be fired.