IHTMLButtonElement::get_disabledIHTMLButtonElement::get_disabled*
*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.

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

Up Top of Page


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.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.