1

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?

Adel Khayata
  • 2,717
  • 10
  • 28
  • 46
Florian Leitgeb
  • 15,657
  • 6
  • 31
  • 40

1 Answers1

1

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

noseratio
  • 59,932
  • 34
  • 208
  • 486