Partager via


QueryStatusWB method

Queries the object for the status of commands using the IOleCommandTarget interface.

Syntax

var retval = InternetExplorer.QueryStatusWB(nCmdID);

Parameters

  • nCmdID [in]

    C++ OLECMDID value of the command for which the caller needs status information.
    VB Long that represents the identifier of the command on which the caller needs status information. This will be one of the OLECMDID values.

Return value

Type: OLECMDF*

Returns an unsigned long integer that is one of the OLECMDF values.

Remarks

The WebBrowser object delegates this method to the top-level frame. If no frame exists, it returns E_FAIL.

See also

InternetExplorer

ExecWB