Click to return to the Reusing Browser Technology home page    
IHTMLControlRange::queryC...     IHTMLControlRange::queryC...     IHTMLControlRange Interfa...    
Web Workshop  |  Reusing Browser Technology

IHTMLControlRange::queryCommandText Method


Retrieves the string associated with the given command.

Syntax

HRESULT queryCommandText(
    BSTR cmdID, 
    BSTR *pcmdText
);

Parameters

cmdID
String (BSTR) value that contains an identifier of a command. It can be any command identifier given in the list of Command Identifiers.
pcmdText
Address of a Boolean variable that receives the command string.

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.