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