Contents Index Topic Contents | ||
Previous Topic: IHTMLInputTextElement::put_defaultValue Next Topic: IHTMLInputTextElement::put_size |
IHTMLInputTextElement::get_defaultValue
HRESULT get_defaultValue( BSTR *p );Retrieves the initial contents of a password or text control or the TEXTAREA element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the initial contents.
This value can be changed programmatically but has no effect on the appearance, or on how forms are submitted.
See also put_defaultValue
IHTMLInputTextElement::put_defaultValue
HRESULT put_defaultValue( BSTR v );Sets the initial contents of a password or text control or the TEXTAREA element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the initial contents.
This value can be changed programmatically but has no effect on the appearance, or on how forms are submitted.
See also get_defaultValue
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.