This method of the InternetExplorer class implements a wrapper that allows you to query an OLE object for the status of commands using the IOleCommandTarget::QueryStatus method.
public native int QueryStatusWB(int cmdID);
cmdID | The identifier of the command on which the caller needs status information. This will be one of the OLECMDID values. |