IHTMLDocument2::queryCommandEnabledIHTMLDocument2::queryCommandEnabled*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLDocument2::queryCommandSupported
*Next Topic: IHTMLDocument2::queryCommandState

IHTMLDocument2::queryCommandEnabled


HRESULT queryCommandEnabled(
    BSTR cmdID,
    VARIANT_BOOL *pfRet
);

Determines whether the given command is currently available.

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


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