Click to return to the Reusing Browser Technology home page    
IHTMLInputElement::get_st...     IHTMLInputElement::get_ty...     IHTMLInputElement Interfa...    
Web Workshop  |  Reusing Browser Technology

IHTMLInputElement::get_status Method


Retrieves the status of the INPUT control.

Syntax

HRESULT get_status(
    VARIANT_BOOL *p
);

Parameters

v
Address of a VARIANT Boolean structure that receives the status. The status can be VARIANT_TRUE, VARIANT_FALSE, or VARIANT_NULL depending on whether the object contains data, does not contain data yet, or is yet un-initialized. The caller polls the value for changes.

Return Value

Returns S_OK if successful, or an error code otherwise.


IHTMLInputElement::put_status Method


Sets the status of the INPUT control.

Syntax

HRESULT put_status(
    VARIANT_BOOL v
);

Parameters

v
A VARIANT Boolean structure that specifies the status to set. The status can be VARIANT_TRUE, VARIANT_FALSE, or VARIANT_NULL depending on whether the object contains data, does not contain data yet, or is yet un-initialized. The caller polls the value for changes.

Return Value

Returns S_OK if successful, or an error code otherwise.



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.