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.
- Returns S_OK if successful, or an error value otherwise.
- 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.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.