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

CMDID_SCRIPTSITE_HTMLDLGTRUST Command ID

Indicates whether an HTML dialog is trusted.

C++ Information

Command group CGID_ScriptSite (defined in mshtmhst.h)
Symbolic constant CMDID_SCRIPTSITE_HTMLDLGTRUST
User interface None. Set nCmdExecOpt to OLECMDEXECOPT_DONTPROMPTUSER.
IOleCommandTarget::Exec parameters
pvaIn Set to NULL.
pvaOut Receives a VARIANT of type VT_BOOL indicating whether this HTML dialog is trusted.
Header file mshtmhst.h
Applies to IHTMLDocument2::execCommand, IHTMLDocument2::queryCommandEnabled, IHTMLDocument2::queryCommandIndeterm, IHTMLDocument2::queryCommandState, IHTMLDocument2::queryCommandSupported, IHTMLDocument2::queryCommandValue, IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus.

Remarks

A trusted document is a document that is from a trusted source, and which may be granted additional permissions by a custom security manager.

If the document is not an HTML dialog, the function returns OLECMDERR_E_NOTSUPPORTED.

The GUID for CGID_ScriptSite is 3050F3F1-98B5-11CF-BB82-00AA00BDCE0B.


#define CMDID_SCRIPTSITE_HTMLDLGTRUST       1 

Minimum Availability

Internet Explorer 6.0 and later.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.