다음을 통해 공유


IECMDID_GET_INVOKE_DEFAULT_BROWSER_ON_NEW_WINDOW Command ID

Gets whether new windows launched from Web browser controls should launch the user's default browser. When set to false, new windows will be handled by Windows Internet Explorer, regardless of the user's default browser.

C++ Information

Command group CGID_InternetExplorer (defined in msiehost.h)
Symbolic constant IECMDID_GET_INVOKE_DEFAULT_BROWSER_ON_NEW_WINDOW
User interface None. Set nCmdExecOpt to OLECMDEXECOPT_DONTPROMPTUSER.
IOleCommandTarget::Exec parameters
pvaIn Set to NULL.
pvaOutVARIANT of type VT_BOOL that contains the value.
Header file msiehost.h
Applies to IHTMLDocument2::execCommand, IHTMLDocument2::queryCommandEnabled, IHTMLDocument2::queryCommandIndeterm, IHTMLDocument2::queryCommandState, IHTMLDocument2::queryCommandSupported, IHTMLDocument2::queryCommandValue, IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus.

Minimum Availability

Internet Explorer 5 and later.

See Also

IECMDID_BEFORENAVIGATE_DOEXTERNALBROWSE, IECMDID_SET_INVOKE_DEFAULT_BROWSER_ON_NEW_WINDOW