Contents Index Topic Contents | ||
Previous Topic: IHTMLOptionButtonElement::put_checked Next Topic: IHTMLOptionButtonElement::put_defaultChecked |
IHTMLOptionButtonElement::get_checked
HRESULT get_checked( VARIANT_BOOL *p );Retrieves whether the given check box or radio button is selected.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives TRUE if the button is selected, or FALSE otherwise. The default value for this property is FALSE.
Check boxes that are not selected do not return their values when the form is submitted.
See also put_checked
IHTMLOptionButtonElement::put_checked
HRESULT put_checked( VARIANT_BOOL v );Sets whether the given check box or radio button is selected.
- Returns S_OK if successful, or an error value otherwise.
- v
- Select flag. Set this parameter to TRUE to select the button, or FALSE otherwise.
Check boxes that are not selected do not return their values when the form is submitted.
See also get_checked
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.