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.
Opens the specified browser dialog box.
Syntax
var retval = external.ShowBrowserUI(bstrName, pvarIn);
Parameters
bstrName [in]
Type: BSTR
A String that specifies a browser dialog box, using one of the following values.
LanguageDialog
Opens the Language Preference dialog box.
OrganizeFavorites
Opens the Organize Favorites dialog box.
PrivacySettings
Internet Explorer 6 and later. Opens the Privacy Preferences dialog box.
ProgramAccessAndDefaults
Windows XP SP1 and later. Opens the Set Program Access and Defaults dialog box.
pvarIn [in]
C++ | A pointer to a Variant that is specific to the UI. |
JScript | Null value. |
Return value
Type: Variant
Variant. Return value is determined by the dialog box.
Remarks
In Microsoft Internet Explorer 5, a new "PrivacySetting" option allows access to the Privacy Preferences dialog box.
Examples
This example uses the ShowBrowserUI method to open a particular dialog box when a button is clicked.
<BUTTON onclick="window.external.ShowBrowserUI('LanguageDialog', null)">Show Language Dialog</BUTTON>
<BUTTON onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)">Show Organize Favorites</BUTTON>