SHDocVw.IWebBrowser2.QueryStatusWB

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function QueryStatusWB(cmdID: OLECMDID): OLECMDF; safecall;

C++

virtual HRESULT __safecall QueryStatusWB(Winapi::Activex::TOleEnum cmdID, Winapi::Activex::TOleEnum &__QueryStatusWB_result) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
SHDocVw.pas
SHDocVw.hpp
SHDocVw IWebBrowser2

Description

Returns information about what commands the Web browser supports.

Use QueryStatusWB to determine what commands can be executed using the ExecWB method. QueryStatusWB uses the QueryStatus method of the IOleCommandTarget interface to obtain information about the status of commands. For more information, see the Microsoft documentation of IOleCommandTarget.

cmdID specifies the command about which you want information.

QueryStatusWB returns a value obtained by adding together flags that indicate the status of the command.

See Also