IWebBrowser2::Stop Method

Cancels a pending navigation or download, and stops dynamic page elements, such as background sounds and animations.

Syntax

HRESULT Stop(VOID);

Return Value

Returns S_OK to indicate that the operation was successful.

See Also

DWebBrowserEvents2::BeforeNavigate2, IWebBrowser2::get_Busy, DWebBrowserEvents2::DownloadBegin, DWebBrowserEvents2::ProgressChange, IWebBrowser2::Quit, IWebBrowser2::Refresh