Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

execCommandShowHelp method

Displays help information for the given command identifier.

Syntax

object.execCommandShowHelp(cmdID, pfRet)

Parameters

cmdID [in]

Type: String

String that contains an identifier of a command. It can be any command identifier given in the list of Command Identifiers.

pfRet [out]

Type: Boolean

Pointer to a Boolean that receives true if successful, or false otherwise.

Return value

Type: Integer

Returns S_OK if successful, or an error value otherwise.

Standards information

There are no standards that apply here.

Remarks

Do not invoke the execCommand method until after the page loads.

This method is a wrapper function for the Exec method to enable scriptable execution of some command constants. Exec provides better performance and greater versatility than this method. You can obtain an IOleCommandTarget interface by calling QueryInterface on the IHTMLDocument2 interface using IID_IHTMLDocument2 for the IID.

This method is a wrapper function for the Exec method to enable scriptable execution of some command constants. Exec provides better performance and greater versatility than this method. You can obtain an IOleCommandTarget interface by calling QueryInterface on the IHTMLControlRange interface using IID_IHTMLControlRange for the IID.

This method is a wrapper function for the Exec method to enable scriptable execution of some command constants. Exec provides better performance and greater versatility than this method. You can obtain an IOleCommandTarget interface by calling QueryInterface on the IHTMLTxtRange interface using IID_IHTMLTxtRange for the IID.

See also

controlRange
document
TextRange

 

 

Show:
© 2017 Microsoft