Sets or retrieves whether the user has changed the status of a check box.
HRESULT IHTMLInputElement::get_indeterminate(VARIANT_BOOL *p);HRESULT IHTMLInputElement::put_indeterminate(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. Check box is not dimmed. VARIANT_TRUE Check box is checked and dimmed.
Returns S_OK if successful, or an error value otherwise.
The IHTMLInputElement::indeterminate property can be used to indicate whether the user has acted on a control. For example, setting the IHTMLInputElement::indeterminate to
truecauses the check box to appear checked and dimmed, indicating an indeterminate state.
The value of the IHTMLInputElement::indeterminate property acts independently of the values of the checked and status properties. Creating an indeterminate state is different from disabling the control. Consequently, a check box in the indeterminate state can still receive the focus. When the user clicks an indeterminate control, the indeterminate state turns off and the checked state of the check box toggles.