IHTMLDocument2::queryCommandStateIHTMLDocument2::queryCommandState*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLDocument2::queryCommandEnabled
*Next Topic: IHTMLDocument2::queryCommandIndeterm

IHTMLDocument2::queryCommandState


HRESULT queryCommandState(
    BSTR cmdID,
    VARIANT_BOOL *pfRet
);

Retrieves the current status of the given command. The status indicates whether the command has been carried out on the object.

cmdID
String value that contains 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 given command has been carried out, FALSE if it has not, or NULL if the function cannot determine the status of the command.


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