execCommandShowHelp method

[This documentation is preliminary and is subject to change.]

Displays help information for the given command identifier.

Syntax

HRESULT retVal = object.execCommandShowHelp(cmdID, );

Standards information

There are no standards that apply here.

Parameters

  • cmdID [in]
    Type: BSTR

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

  • pfRet [out]
    Type: VARIANT_BOOL

    Pointer to a VARIANT_BOOL that receives VARIANT_TRUE if successful, or VARIANT_FALSE otherwise.

Remarks

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

This method is a wrapper function for the IOleCommandTarget::Exec method to enable scriptable execution of some command constants. IOleCommandTarget::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 IOleCommandTarget::Exec method to enable scriptable execution of some command constants. IOleCommandTarget::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 IOleCommandTarget::Exec method to enable scriptable execution of some command constants. IOleCommandTarget::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.

 

 

Build date: 6/12/2012