Fires when the user is about to make a control selection of the object.
If the event bubbles and is cancellable, return VARIANT_TRUE to prevent the event from bubbling to other event handlers in the document tree. Return VARIANT_FALSE to allow bubbling.
The DISPID for this event is defined in mshtmdid.h. Use this value to identify the event handler when implementing IDispatch::Invoke.
Bubbles Yes Cancels Yes To invoke
- Make a control selection of an object.
- Add or Remove a control selected element from a multiple selection.
Default action Activates sizing handles allowing the selected element to be resized.
Only content editable objects can be included in a control selection. You can make objects content editable by setting the contentEditable property to
trueor by placing the parent document in design mode.
This event fires before the element is selected, so inspecting the selection object gives no information about the element to be selected.