IWebBrowser2::Busy Property

Gets a value that indicates whether the object is engaged in a navigation or downloading operation.


HRESULT IWebBrowser2::get_Busy(VARIANT_BOOL *pBool);


  • pBool
    Pointer to a variable of type VARIANT_BOOL that receives one of the values listed in Possible Values.

Possible Values

VARIANT_TRUE The control is busy.
VARIANT_FALSE The control is not busy.

Return Value

Returns S_OK if successful, or an error value otherwise.


If the control is busy, you can use the IWebBrowser2::Stop method to cancel the navigation or download operation before it is completed.