Export (0) Print
Expand All
Expand Minimize

IDM_GETFRAMEZONE Command ID

IDM_GETFRAMEZONE returns the security zone of the current page in the browser.

C++ Information

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_GETFRAMEZONE
User interface None. Set nCmdExecOpt to OLECMDEXECOPT_DONTPROMPTUSER.
IOleCommandTarget::Exec parameters
pvaIn Set to NULL.
pvaOut VARIANT of type VT_UI4 which returns the security zone of the current page in the browser. If you have a frameset where different frames come from different security zones, it returns NULL.
Header file mshtmcid.h
Applies to IHTMLDocument2::execCommand, IHTMLDocument2::queryCommandEnabled, IHTMLDocument2::queryCommandIndeterm, IHTMLDocument2::queryCommandState, IHTMLDocument2::queryCommandSupported, IHTMLDocument2::queryCommandValue, IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus.

Remarks

IDM_GETFRAMEZONE is used to generate the security zone info in the lower-right corner of the Windows Internet Explorer window.

Minimum Availability

Internet Explorer 6 and later.

Community Additions

ADD
Show:
© 2014 Microsoft