Compartilhar via


Using the Travel Log Interfaces (Windows CE 5.0)

Send Feedback

An application that uses the WebBrowser control can also use the travel log interfaces. The travel log, also known as the navigation stack, contains data about the Web pages the user has visited recently. The following list gives some examples of functionalities you can include:

  • 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 red.
  • Associating properties with entries in the travel log.
  • Retrieving information about the state of the travel log. For example, you could show the previous five pages visited.
  • Setting and retrieving custom data concerning entries in the travel log through IPropertyBag.

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

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

See Also

Internet Explorer Browser Control Host Application Development

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.