Contents Index Topic Contents | ||
Previous Topic: IHTMLControlRange::queryCommandText Next Topic: IHTMLControlRange::execCommand |
IHTMLControlRange::queryCommandValue
HRESULT queryCommandValue( BSTR cmdID, VARIANT *pcmdValue );Retrieves the current value of the given command.
- Returns S_OK if successful, or an error value otherwise.
- cmdID
- String identifier of a command. Can be any command identifier given in the list of Command Identifiers.
- pcmdValue
- Address of a Boolean variable that receives a string representing the command value. If the command is not supported, this variable receives NULL.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.