RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebBrowser.QueryStatusWB Method

Returns information about what commands the Web browser supports.

Pascal
function QueryStatusWB(cmdID: OLECMDID): OLECMDF;
C++
__fastcall OLECMDF QueryStatusWB(OLECMDID cmdID);

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 made by adding together flags that indicate the status of the command. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!