The OpenD Programming Language

ICoreWebView2.add_HistoryChanged

Add an event handler for the HistoryChanged event. HistoryChanged is raised for changes to joint session history, which consists of top-level and manual frame navigations. Use HistoryChanged to verify that the CanGoBack or CanGoForward value has changed. HistoryChanged also runs for using GoBack or GoForward. HistoryChanged runs after SourceChanged and ContentLoading. CanGoBack is false for navigations initiated through ICoreWebView2Frame APIs if there has not yet been a user gesture.

\snippet ControlComponent.cpp HistoryChanged

interface ICoreWebView2
HRESULT
add_HistoryChanged

Meta