Sets or retrieves a pointer to the event handler function associated with the onselect event. An onselect event occurs at the beginning of a user-initiated select. This event can be canceled, and it participates in the bubbling model.
HRESULT IHTMLDocument7::get_onselect(VARIANT *p);HRESULT IHTMLDocument7::put_onselect(VARIANT v);
- Pointer to a variable of type VARIANT of type VT_DISPATCH that receives the IDispatch interface of an object with a default method that is invoked when the event occurs.
- VARIANT of type VT_DISPATCH that specifies the IDispatch interface of an object with a default method that is invoked when the event occurs.
Returns S_OK if successful, or an error value otherwise.