Поделиться через


Using the Travel Log Interfaces (Windows Embedded CE 6.0)

1/6/2010

The travel log, also known as the navigation stack, contains data about the Web pages the user has visited recently. An application that uses the WebBrowser control can use the travel log interfaces. Some examples of travel log uses are listed here:

  • Enumerating the travel log (forward and back)
  • Navigating to specific entries in the travel log
  • Deleting and adding entries that meet certain criteria
  • Marking an entry in the travel log and displaying the entry in an alternate color
  • Associating properties with travel log entries
  • Retrieving information about the state of the travel log; for example, showing the previous five pages visited
  • Setting and retrieving custom data for entries in the travel log through IPropertyBag

The travel log interfaces act on existing data. This means that when you add or remove an entry, the change is propagated to all methods that use the travel log (navigation stack), such as DHTML back, forward, and go.

The topmost entry in the travel log does not contain complete information until the user has navigated away from the page at least one time. An entry is not completed until the user leaves a site or until the user selects the Back button and then the Forward button.

See Also

Other Resources

Internet Explorer Browser Control Host Application Development