IHTMLControlRange::queryCommandEnabledIHTMLControlRange::queryCommandEnabled*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLControlRange::queryCommandSupported
*Next Topic: IHTMLControlRange::queryCommandState

IHTMLControlRange::queryCommandEnabled


HRESULT queryCommandEnabled(
    BSTR cmdID, 
    VARIANT_BOOL *pfRet
);

Determines whether the given command is currently available.

cmdID
String containing an 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.