Expand Minimize
1 out of 2 rated this helpful - Rate this topic

IECMDID_SET_INVOKE_DEFAULT_BROWSER_ON_NEW_WINDOW Command ID

Sets 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_SET_INVOKE_DEFAULT_BROWSER_ON_NEW_WINDOW
User interface None. Set nCmdExecOpt to OLECMDEXECOPT_DONTPROMPTUSER.
IOleCommandTarget::Exec parameters
pvaIn VARIANT of type VT_BOOL that specifies the new value.
pvaOut Set to NULL.
Header file msiehost.h
Applies to IHTMLDocument2::execCommand, IHTMLDocument2::queryCommandEnabled, IHTMLDocument2::queryCommandIndeterm, IHTMLDocument2::queryCommandState, IHTMLDocument2::queryCommandSupported, IHTMLDocument2::queryCommandValue, IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus.

Remarks

Setting this value saves it for later retrieval by IECMDID_GET_INVOKE_DEFAULT_BROWSER_ON_NEW_WINDOW. The application must implement the desired behavior.

Minimum Availability

Internet Explorer 5 and later.

See Also

IECMDID_BEFORENAVIGATE_DOEXTERNALBROWSE
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.