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

IHTMLTxtRange::queryCommandSupported Method


Determines whether the given command is supported.

Syntax

HRESULT queryCommandSupported(
    BSTR cmdID,
    VARIANT_BOOL *pfRet 
);

Parameters

cmdID
Identifier of a command. Can be any one of those given in the list of Command Identifiers.
pfRet
Address of a variable that receives TRUE if the command is supported, or FALSE otherwise.

Return Value

Returns S_OK if successful, or an error code otherwise.

See Also

queryCommandEnabled


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.