Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IWebBrowser2::GoForward Method

Navigates forward one item in the history list.



Return Value

Returns S_OK if successful, or an error value otherwise.


During a browsing session, the WebBrowser control and Windows Internet Explorer maintain a history list of all Web sites visited during a session, unless you specify the navNoHistory flag when you use the IWebBrowser2::Navigate method.

Use the DWebBrowserEvents2::CommandStateChange event to check the enabled state of forward navigation. If the event's CSC_NAVIGATEFORWARD command is disabled, the end of the history list has been reached, and the IWebBrowser2::GoForward method should not be used.

See Also

Community Additions

© 2015 Microsoft