Contents Index Topic Contents | ||
Previous Topic: IHTMLOptionButtonElement::put_defaultChecked Next Topic: IHTMLOptionButtonElement::put_onchange |
IHTMLOptionButtonElement::get_defaultChecked
HRESULT get_defaultChecked( VARIANT_BOOL *p );Determines whether the check box or radio button is selected by default.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives TRUE if the button is selected by default, or FALSE otherwise.
This value can be changed programmatically but has no effect on the appearance nor on how forms are submitted.
The default value for this property is TRUE.
See also put_defaultChecked
IHTMLOptionButtonElement::put_defaultChecked
HRESULT put_defaultChecked( VARIANT_BOOL v );Determines whether the check box or radio button is selected by default.
- Returns S_OK if successful, or an error value otherwise.
- v
- Selection flag. Set this value to TRUE to select the button, or FALSE otherwise.
This value can be changed programmatically but has no effect on the appearance nor on how forms are submitted.
See also get_defaultChecked
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.