Partager via


MSHTML Registry Settings

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 features are included in your platform. 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 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.

See Also

Internet Explorer MSHTML/DHTML API

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.