IHTMLOptionButtonElement::get_indeterminateIHTMLOptionButtonElement::get_indeterminate*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLOptionButtonElement::put_indeterminate
*Next Topic: IHTMLOptionButtonElement::get_form

IHTMLOptionButtonElement::get_indeterminate


HRESULT get_indeterminate(
    VARIANT_BOOL *p 
);

Retrieves whether the check box is in the indeterminate state. An indeterminate check box has a dimmed background to represent an indeterminate state.

When indeterminate is set, the check box appears checked, but dimmed. The value of indeterminate is independent of the values for the checked and status properties.

v
Address of a value that receives TRUE if the check box is indeterminate, or FALSE otherwise.

This does not change whether the check box is marked as checked, and is different than disabling the control. A check box in the indeterminate state can still receive the focus. When the user clicks an indeterminate button, the indeterminate state is turned off and the check box is appropriately checked or unchecked.

The default value for this property is FALSE.

See also put_indeterminate

Up Top of Page


IHTMLOptionButtonElement::put_indeterminate


HRESULT put_indeterminate(
    VARIANT_BOOL v 
);

Changes the user interface of a check box to have a dimmed background to represent an indeterminate state.

When indeterminate is set, the check box appears checked, but dimmed. The value of indeterminate is independent of the values for the checked and status properties.

v
Indeterminate flag. If TRUE, the check box is indeterminate.

This does not change whether the check box is marked as checked, and is different than disabling the control. A check box in the indeterminate state can still receive the focus. When the user clicks an indeterminate button, the indeterminate state is turned off and the check box is appropriately checked or unchecked.

The default value for this property is FALSE.

See also get_indeterminate


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