Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

OLECMDID_REFRESHFLAG Enumerated Type

Contains values that control page reload.

Syntax

typedef enum {
    OLECMDIDF_REFRESH_NORMAL = 0,
    OLECMDIDF_REFRESH_IFEXPIRED = 1,
    OLECMDIDF_REFRESH_CONTINUE = 2,
    OLECMDIDF_REFRESH_COMPLETELY = 3,
    OLECMDIDF_REFRESH_NO_CACHE = 4,
    OLECMDIDF_REFRESH_RELOAD = 5,
    OLECMDIDF_REFRESH_LEVELMASK = 0xFF,
    OLECMDIDF_REFRESH_CLEARUSERINPUT = 0x1000,
    OLECMDIDF_REFRESH_PROMPTIFOFFLINE = 0x2000,
    OLECMDIDF_REFRESH_THROUGHSCRIPT = 0x4000,
    OLECMDIDF_REFRESH_PAGEACTION_ACTIVEXINSTALL = 0x10000,
    OLECMDIDF_REFRESH_PAGEACTION_FILEDOWNLOAD = 0x20000,
    OLECMDIDF_REFRESH_PAGEACTION_LOCALMACHINE = 0x40000,
    OLECMDIDF_REFRESH_PAGEACTION_POPUPWINDOW = 0x80000,
    OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNLOCALMACHINE = 0x100000,
    OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNTRUSTED = 0x200000,
    OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTRANET = 0x400000,
    OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTERNET = 0x800000,
    OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNRESTRICTED = 0x1000000,
    OLECMDIDF_REFRESH_PAGEACTION_MIXEDCONTENT = 0x2000000,
    OLECMDIDF_REFRESH_PAGEACTION_INVALID_CERT = 0x4000000
} OLECMDID_REFRESHFLAG;

Constants

OLECMDIDF_REFRESH_NORMAL

Reloads a resource from the Internet cache. If the cached copy has expired, requests an update from the server.

OLECMDIDF_REFRESH_IFEXPIRED

Same as OLECMDIDF_REFRESH_RELOAD.

OLECMDIDF_REFRESH_CONTINUE

Same as OLECMDIDF_REFRESH_RELOAD.

OLECMDIDF_REFRESH_COMPLETELY

Forces a new download of a resource from the server. The resource will not be stored in the Internet cache. Same as pressing Ctrl+F5 in Windows Internet Explorer.

OLECMDIDF_REFRESH_NO_CACHE

Reloads a resource if it has been modified since the last time it was downloaded. The resource will not be stored in the Internet cache. Same as pressing F5 in Internet Explorer.

OLECMDIDF_REFRESH_RELOAD

Bypasses cache validation.

OLECMDIDF_REFRESH_LEVELMASK

Used to detect flag values OLECMDIDF_REFRESH_NORMAL through OLECMDIDF_REFRESH_RELOAD.

OLECMDIDF_REFRESH_CLEARUSERINPUT

Discards form data and resets scroll position.

OLECMDIDF_REFRESH_PROMPTIFOFFLINE

Prompts the user to go back online to request a resource. This is usually triggered by clicking a link that isn't available offline.

OLECMDIDF_REFRESH_THROUGHSCRIPT

Microsoft Internet Explorer 6. Executes as if reload were triggered by script rather than the user. The original top-level URL continues to be used for privacy decisions.

OLECMDIDF_REFRESH_PAGEACTION_ACTIVEXINSTALL

Internet Explorer 6 for Windows XP Service Pack 2 (SP2). Permits Microsoft ActiveX controls to be installed.

OLECMDIDF_REFRESH_PAGEACTION_FILEDOWNLOAD

Internet Explorer 6 for Windows XP SP2. Permits files to be downloaded.

OLECMDIDF_REFRESH_PAGEACTION_LOCALMACHINE

Internet Explorer 6 for Windows XP SP2. Permits access to resources in Local Machine Zone on the current thread.

OLECMDIDF_REFRESH_PAGEACTION_POPUPWINDOW

Internet Explorer 6 for Windows XP SP2. Permits pop-up windows to be created.

OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNLOCALMACHINE

Internet Explorer 6 for Windows XP SP2. Permits restricted protocols in the Local Machine zone.

OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNTRUSTED

Internet Explorer 6 for Windows XP SP2. Permits restricted protocols in the Trusted Sites zone.

OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTRANET

Internet Explorer 6 for Windows XP SP2. Permits restricted protocols in the Intranet zone.

OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTERNET

Internet Explorer 6 for Windows XP SP2. Permits restricted protocols in the Internet zone.

OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNRESTRICTED

Internet Explorer 6 for Windows XP SP2. Permits restricted protocols in the Restricted Sites zone.

OLECMDIDF_REFRESH_PAGEACTION_MIXEDCONTENT

Internet Explorer 7. Permits insecure resources to appear on a secure page.

OLECMDIDF_REFRESH_PAGEACTION_INVALID_CERT

Internet Explorer 7. Ignores first Secure Sockets Layer (SSL) error on the page.

Remarks

The enumeration values can be passed to IOleCommandTarget::Exec in the nCmdExecOpt parameter when nCmdID is OLECMDID_REFRESH (22).

Enumerated Type Information

Header and IDL files docobj.h, docobj.idl
Minimum availability Internet Explorer 7
Minimum operating systems Windows XP SP2

See Also

OLECMDID
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.