Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 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
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 SP2. Permits 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 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).
Requirements
Minimum supported client |
Windows XP with SP2 |
Minimum supported server |
Windows Server 2003 |
Header |
Docobj.h |
IDL |
Docobj.idl |