QueryStatusWB method
Queries the object for the status of commands using the IOleCommandTarget interface.
var retval = InternetExplorer.QueryStatusWB(nCmdID);
nCmdID [in]
Type: OLECMDF*
Returns an unsigned long integer that is one of the OLECMDF values.
The WebBrowser object delegates this method to the top-level frame. If no frame exists, it returns E_FAIL.