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

IHTMLTxtRange::queryCommandText Method


Returns the string associated with a command.

Syntax

HRESULT queryCommandText(
    BSTR cmdID,
    BSTR *pcmdText
);

Parameters

cmdID
Identifier of a command. Can be any one of those given in the list of Command Identifiers.
pcmdText
Address of a string variable that receives the command text.

Return Value

Returns S_OK if successful, or an error code otherwise.

See Also

queryCommandValue


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.