Internet Explorer MSHTML/DHTML API Registry Settings

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

The settings in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AboutURLs key specify the default "About" protocol settings.

Note

The default registry values vary, depending on which Catalog items are included in your OS design. For more information, see Default Registry Settings.

The following table shows the named values:

Value : type Description

blank : REG_SZ

Default setting is "res://mshtml.dll/blank.htm"

repost : REG_SZ

Default setting is "res://mshtml.dll/repost.htm"

PostNotCached : REG_SZ

Default setting is "res://mshtml.dll/repost.htm"

NavigationFailure : REG_SZ

Default setting is "res://shdocvw.dll/navcancl.htm"

DesktopItemNavigationFailure : REG_SZ

Default setting is "res://shdocvw.dll/navcancl.htm"

NavigationCanceled : REG_SZ

Default setting is "res://shdocvw.dll/navcancl.htm"

OfflineInformation : REG_SZ

Default setting is "res://shdocvw.dll/offcancl.htm"

Printer Settings

Settings in the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings key define printing preferences.

The following table shows the named values:

Value : type Description

PageOrientation : REG_DWORD

Specifies page orientation. Valid settings are 1=portrait, 2=landscape. Default setting is 1.

PrintQuality : REG_DWORD

Specifies print quality. Valid settings are 1=draft, 2=final. Default setting is 1.

PaperSize : REG_DWORD

Specifies paper size. Valid settings are 1=letter, 5=Legal, 9=A4, 13=B5.Default setting is 1.

Settings in the HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup key specify how a page is set up for printing.

The following table shows the named values:

Value : type Description

footer : REG_SZ

Default setting is"&u&b&d".

header : REG_SZ

Default setting is LOC_PAGEHEADER.

margin_bottom : REG_DWORD

Default setting is 2ee. Margins are stored in 1/1000 inch units: 2ee is 750 (0.75").

margin_left : REG_DWORD

Default setting is 2ee.

margin_right : REG_DWORD

Default setting is 2ee.

margin_top : REG_DWORD

Default setting is 2ee.

Internet Explorer Theme Settings

Settings in the HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main key define theme support for Internet Explorer controls.

The following table shows the named values:

Value : type Description

UseThemes : REG_DWORD

The default value is set to 1 to enable theme support for Internet Explorer controls.

See Also

Other Resources

Internet Explorer 6 MSHTML/DHTML API