IHTMLTxtRange::queryCommandEnabledIHTMLTxtRange::queryCommandEnabled*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLTxtRange::put_text
*Next Topic: IHTMLTxtRange::queryCommandIndeterm

IHTMLTxtRange::queryCommandEnabled


HRESULT queryCommandEnabled(
    BSTR cmdID,
    VARIANT_BOOL *pfRet
);

Determines whether the given command is currently available.

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

See also queryCommandSupported


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.