Click to return to the Reusing Browser Technology home page    
IHTMLTxtRange::queryComma...     IHTMLTxtRange::scrollInto...     IHTMLTxtRange Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLTxtRange::queryCommandValue Method


Retrieves the current value of the given command.

Syntax

HRESULT queryCommandValue(
    BSTR cmdID,
    VARIANT *pcmdValue
);

Parameters

cmdID
Identifier of a command. Can be any one given in the list of Command Identifiers.
pcmdValue
Address of a variable that receives a string representing the command value. If the command is not supported, this variable receives NULL.

Return Value

Returns S_OK if successful, or an error code otherwise.

See Also

queryCommandText


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.