## Enumerations

### BrowserNavConstants

    typedef enum BrowserNavConstants {
        navOpenInNewWindow = 1,
        navNoHistory = 2,
        navNoReadFromCache = 4,
        navNoWriteToCache = 8
    } BrowserNavConstants;

Contains values used by the IWebBrowserApp::Navigate and IWebBrowser::Navigate functions.

Elements

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 read from the disk cache for this navigation.
navNoWriteToCache | Do not write the results of this navigation to the disk cache.

See also FrameNewWindow, IWebBrowserApp::Navigate, IWebBrowser::Navigate, Navigate, BeforeNavigate, NavigateComplete, NewWindow

### CommandStateChangeConstants

    typedef enum CommandStateChangeConstants {
        CSC_UPDATECOMMANDS = 0xFFFFFFFF,
        CSC_NAVIGATEFORWARD = 0x00000001,
        CSC_NAVIGATEBACK = 0x00000002
    } CommandStateChangeConstants;

Contains values used by the DWebBrowserEvents::CommandStateChange function.

Elements

CSC_UPDATECOMMANDS | The enabled state of a toolbar button may have changed.
CSC_NAVIGATEFORWARD | The enabled state of the Forward button has changed.
NAVIGATEBACK | The enabled state of the Back button has changed.

See also DWebBrowserEvents::CommandStateChange

### RefreshConstants

    typedef enum RefreshConstants {
        REFRESH_NORMAL = 0,
        REFRESH_IFEXPIRED = 1,
        REFRESH_CONTINUE = 2,
        REFRESH_COMPLETELY = 3
    } RefreshConstants;

Contains values used with the IWebBrowserApp::Refresh2 and IWebBrowser::Refresh2 functions.

The "pragma:nocache" header tells the server not to return a cached copy, but to ensure that the information is as fresh as possible. Browsers typically send this header when the user selects refresh, but the header causes problems for some servers.

Elements

REFRESH_COMPLETELY | Perform a full refresh that includes sending a "pragma:nocache" header to the server (HTTP URLs only).
REFRESH_IFEXPIRED | Perform a lightweight refresh if the page has expired.
REFRESH_CONTINUE | For internal use only - do not use.
REFRESH_NORMAL | Perform a lightweight refresh that does not include sending the HTTP "pragma:nocache" header to the server.

See also IWebBrowserApp::Refresh, IWebBrowser::Refresh

© 1996 Microsoft Corporation