Contents Index Topic Contents | ||
Previous Topic: IHTMLButtonElement::put_disabled Next Topic: IHTMLButtonElement::get_form |
IHTMLButtonElement::get_disabled
HRESULT get_disabled( VARIANT_BOOL *p );Determines whether the control is enabled or disabled.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a Boolean variable that receives TRUE if the control is disabled, or FALSE otherwise.
The default value for this property is FALSE.
See also put_disabled
IHTMLButtonElement::put_disabled
HRESULT put_disabled( VARIANT_BOOL v );Enables or disables the control. A disabled control appears greyed and does not respond to user input.
- Returns S_OK if successful, or an error value otherwise.
- v
- Boolean value specifying whether to disable the control. If TRUE, the control is disabled; otherwise, it is enabled.
The default value for this property is FALSE.
See also get_disabled
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.