Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Navigates forward one item in the history list.
Syntax
HRESULT GoForward(VOID);
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
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
IWebBrowser2::GoBack, IWebBrowser2::GoHome, IWebBrowser2::GoSearch, InternetExplorer, WebBrowser