Retrieves the value that indicates whether the current event should bubble up the hierarchy of event handlers.
Syntax
HRESULT get_cancelBubble( VARIANT_BOOL *p );
Parameters
- p
- Address of a VARIANT Boolean structure that receives VARIANT_TRUE if bubbling has been canceled, or VARIANT_FALSE otherwise. For details, see the cancelBubble property.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets the value that indicates whether the current event should bubble up the hierarchy of event handlers.
Syntax
HRESULT put_cancelBubble( VARIANT_BOOL v );
Parameters
- v
- VARIANT Boolean structure that contains the cancel-bubble flag. VARIANT_TRUE cancels bubbling for this event, preventing the next event handler in the hierarchy from receiving the event. VARIANT_FALSE enables bubbling; this is the default value. For details, see the cancelBubble property.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0