Click to return to the Reusing Browser Technology home page    
IHTMLInputTextElement::cr...     IHTMLInputTextElement::ge...     IHTMLInputTextElement Int...    
Web Workshop  |  Reusing Browser Technology

IHTMLInputTextElement::get_defaultValue Method


Retrieves the initial contents of a password or text control or the TEXTAREA element.

Syntax

HRESULT get_defaultValue(
    BSTR *p 
);

Parameters

p
Address of a variable that receives the initial contents.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

This value can be changed programmatically but has no effect on the appearance, or on how forms are submitted.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

IHTMLInputTextElement::put_defaultValue Method


Sets the initial contents of a password or text control or the TEXTAREA element.

Syntax

HRESULT put_defaultValue(
    BSTR v 
);

Parameters

v
String that specifies the initial contents.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

This value can be changed programmatically but has no effect on the appearance, or on how forms are submitted.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.