AxSHDocVw.AxWebBrowser CanGoBack/CanGoForward missing like in WebBrowser

600 Views Asked by At

I am using AxWebBrowser control and i need to implement an interface that indicates if the user can navigate back or forward.

In the "normal" WebBrowser control i had the booleans CanGoBack/CanGoForward.

Does AxWebBrowser have similar bools or do i have the chance to implement it in another way?

1

There are 1 best solutions below

0
noseratio On BEST ANSWER

You'd need to handle DWebBrowserEvents2::CommandStateChange and track the state CSC_NAVIGATEFORWARD/CSC_NAVIGATEBACK commands.