OnHistoryChanged - cWebView2Browser

Sent whenever the browser history changes

Type: Event

Parameters: String sUrl Boolean bCanGoBack Boolean bCanGoForward

ParameterDescription
sUrlNew URL for the document
bCanGoBackTrue if backward navigation is now possible
bCanGoForwardTrue if forward navigation is now possible


Syntax
Procedure OnHistoryChanged String sUrl Boolean bCanGoBack Boolean bCanGoForward

Description

This message is sent whenever the browser history changes.

This can be part of a navigation operation (see OnNavigationStarting for an overview of navigation events) or JavaScript history manipulation.