Sets or retrieves a value that indicates whether the user can interact with the object.
HRESULT IHTMLSelectElement::get_disabled(VARIANT_BOOL *p);HRESULT IHTMLSelectElement::put_disabled(VARIANT_BOOL v);
- Pointer to a variable of type VARIANT_BOOL that receives one of the values listed in Possible Values.
- VARIANT_BOOL that specifies one of the values listed in Possible Values.
VARIANT_FALSE Default. Element is not disabled. VARIANT_TRUE Element is disabled.
Returns S_OK if successful, or an error value otherwise.
When an element is disabled, it appears dimmed and does not respond to user input. Disabled elements do not respond to mouse events, nor will they respond to the IHTMLElement3::contentEditable property.
If an element's IHTMLSelectElement::disabled property is set to false but it is contained within a IHTMLSelectElement::disabled element, it cannot override the IHTMLSelectElement::disabled state of its container.