Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Hosting and Reuse
WebBrowser Control
Enumerations
 BrowserNavConstants Enumerated Type
BrowserNavConstants Enumerated Type

Contains values used by the IWebBrowser2::Navigate and IWebBrowser2::Navigate2 methods.

Syntax

typedef enum BrowserNavConstants {
    navOpenInNewWindow = 0x1,
    navNoHistory = 0x2,
    navNoReadFromCache = 0x4,
    navNoWriteToCache = 0x8,
    navAllowAutosearch = 0x10,
    navBrowserBar = 0x20,
    navHyperlink = 0x40,
    navEnforceRestricted = 0x80,
    navNewWindowsManaged = 0x0100,
    navUntrustedForDownload = 0x0200,
    navTrustedForActiveX = 0x0400,
    navOpenInNewTab = 0x0800,
    navOpenInBackgroundTab = 0x1000,
    navKeepWordWheelText = 0x2000,
    navVirtualTab = 0x4000
} BrowserNavConstants;

Constants

navOpenInNewWindow

Open the resource or file in a new window.

navNoHistory

Do not add the resource or file to the history list. The new page replaces the current page in the list.

navNoReadFromCache

Do not consult the Internet cache; retrieve the resource from the origin server (implies BINDF_PRAGMA_NO_CACHE and BINDF_RESYNCHRONIZE).

navNoWriteToCache

Do not add the downloaded resource to the Internet cache. See BINDF_NOWRITECACHE.

navAllowAutosearch

If the navigation fails, the autosearch functionality attempts to navigate common root domains (.com, .edu, and so on). If this also fails, the URL is passed to a search engine.

navBrowserBar

Causes the current Explorer Bar to navigate to the given item, if possible.

navHyperlink

Microsoft Internet Explorer 6 for Microsoft Windows XP Service Pack 2 (SP2) and later. If the navigation fails when a hyperlink is being followed, this constant specifies that the resource should then be bound to the moniker using the BINDF_HYPERLINK flag.

navEnforceRestricted

Internet Explorer 6 for Windows XP SP2 and later. Force the URL into the restricted zone.

navNewWindowsManaged

Internet Explorer 6 for Windows XP SP2 and later. Use the default Popup Manager to block pop-up windows.

navUntrustedForDownload

Internet Explorer 6 for Windows XP SP2 and later. Block files that normally trigger a file download dialog box.

navTrustedForActiveX

Internet Explorer 6 for Windows XP SP2 and later. Prompt for the installation of Microsoft ActiveX controls.

navOpenInNewTab

Windows Internet Explorer 7. Open the resource or file in a new tab. Allow the destination window to come to the foreground, if necessary.

navOpenInBackgroundTab

Internet Explorer 7. Open the resource or file in a new background tab; the currently active window and/or tab remains open on top.

navKeepWordWheelText

Internet Explorer 7. Maintain state for dynamic navigation based on the filter string entered in the search band text box (wordwheel). Restore the wordwheel text when the navigation completes.

navVirtualTab

Note  This documentation is preliminary and is subject to change.
Internet Explorer 8. Open the resource as a replacement for the current or target tab. The existing tab is closed while the new tab takes its place in the tab bar and replaces it in the tab group, if any. Browser history is copied forward to the new tab. On Windows Vista, this flag is implied if the navigation would cross integrity levels and navOpenInNewTab, navOpenInBackgroundTab, or navOpenInNewWindow is not specified.

Enumerated Type Information

HeaderExdisp.h
Minimum availabilityInternet Explorer 4.0
Minimum operating systems Windows NT 4.0, Windows 95, Windows CE 2.12

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
C# definition      T E Dixon   |   Edit   |  
public enum BrowserNavConstants
{
/// <summary>
/// Open the resource or file in a new window.
/// </summary>
navOpenInNewWindow = 0x1,
/// <summary>
/// Do not add the resource or file to the history list. The new page replaces the current page in the list.
/// </summary>
navNoHistory = 0x2,
/// <summary>
/// Do not consult the Internet cache; retrieve the resource from the origin server (implies BINDF_PRAGMA_NO_CACHE and BINDF_RESYNCHRONIZE).
/// </summary>
navNoReadFromCache = 0x4,
/// <summary>
/// Do not add the downloaded resource to the Internet cache. See BINDF_NOWRITECACHE.
/// </summary>
navNoWriteToCache = 0x8,
/// <summary>
/// If the navigation fails, the autosearch functionality attempts to navigate common root domains (.com, .edu, and so on). If this also fails, the URL is passed to a search engine.
/// </summary>
navAllowAutosearch = 0x10,
/// <summary>
/// Causes the current Explorer Bar to navigate to the given item, if possible.
/// </summary>
navBrowserBar = 0x20,
/// <summary>
/// Microsoft Internet Explorer 6 for Microsoft Windows XP Service Pack 2 (SP2) and later. If the navigation fails when a hyperlink is being followed, this constant specifies that the resource should then be bound to the moniker using the BINDF_HYPERLINK flag.
/// </summary>
navHyperlink = 0x40,
/// <summary>
/// Internet Explorer 6 for Windows XP SP2 and later. Force the URL into the restricted zone.
/// </summary>
navEnforceRestricted = 0x80,
/// <summary>
/// Internet Explorer 6 for Windows XP SP2 and later. Use the default Popup Manager to block pop-up windows.
/// </summary>
navNewWindowsManaged = 0x0100,
/// <summary>
/// Internet Explorer 6 for Windows XP SP2 and later. Block files that normally trigger a file download dialog box.
/// </summary>
navUntrustedForDownload = 0x0200,
/// <summary>
/// Internet Explorer 6 for Windows XP SP2 and later. Prompt for the installation of Microsoft ActiveX controls.
/// </summary>
navTrustedForActiveX = 0x0400,
/// <summary>
/// Windows Internet Explorer 7. Open the resource or file in a new tab. Allow the destination window to come to the foreground, if necessary.
/// </summary>
navOpenInNewTab = 0x0800,
/// <summary>
/// Internet Explorer 7. Open the resource or file in a new background tab; the currently active window and/or tab remains open on top.
/// </summary>
navOpenInBackgroundTab = 0x1000,
/// <summary>
/// Internet Explorer 7. Maintain state for dynamic navigation based on the filter string entered in the search band text box (wordwheel). Restore the wordwheel text when the navigation completes.
/// </summary>
navKeepWordWheelText = 0x2000
}
Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker