disabled property
Sets or retrieves a value that indicates whether the user can interact with the object.
Syntax
HRESULT value = object.put_disabled( v);HRESULT value = object.get_disabled(* p);
Property values
Type: VARIANT_BOOL
VARIANT_FALSE (false)
Default. Element is not disabled.
VARIANT_TRUE (true)
Element is disabled.
Remarks
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 IHTMLInputHiddenElement::disabled property is set to false but it is contained within a IHTMLInputHiddenElement::disabled element, it cannot override the IHTMLInputHiddenElement::disabled state of its container.
For link, style and styleSheet, the attribute sets or retrieves whether a style sheet is applied to the object.
Note As of Windows Internet Explorer 9, the IHTMLInputHiddenElement::disabled property is supported for OPTGROUP and OPTION elements, but only for pages displayed in standards mode. These elements do not support the property in earlier versions of Windows Internet Explorer or for webpages displayed in earlier document modes.