Defines a set of flags that indicate the capabilities of an IDocHostUIHandler implementation.
Syntax
typedef enum tagDOCHOSTUIFLAG{ DOCHOSTUIFLAG_DIALOG = 0x0001, DOCHOSTUIFLAG_DISABLE_HELP_MENU = 0x0002, DOCHOSTUIFLAG_NO3DBORDER = 0x0004, DOCHOSTUIFLAG_SCROLL_NO = 0x0008, DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE = 0x0010, DOCHOSTUIFLAG_OPENNEWWIN = 0x0020, DOCHOSTUIFLAG_DISABLE_OFFSCREEN = 0x0040, DOCHOSTUIFLAG_FLAT_SCROLLBAR = 0x0080, DOCHOSTUIFLAG_DIV_BLOCKDEFAULT = 0x0100, DOCHOSTUIFLAG_ACTIVATE_CLIENTHIT_ONLY = 0x0200, DOCHOSTUIFLAG_OVERRIDEBEHAVIORFACTORY = 0x0400, DOCHOSTUIFLAG_CODEPAGELINKEDFONTS = 0x0800, DOCHOSTUIFLAG_URL_ENCODING_DISABLE_UTF8 = 0x1000, DOCHOSTUIFLAG_URL_ENCODING_ENABLE_UTF8 = 0x2000, DOCHOSTUIFLAG_ENABLE_FORMS_AUTOCOMPLETE = 0x4000 }DOCHOSTUIFLAG;
Elements
- DOCHOSTUIFLAG_DIALOG
- MSHTML will not allow selection of the text in the form.
- DOCHOSTUIFLAG_DISABLE_HELP_MENU
- MSHTML will not add the Help menu item to the container's menu.
- DOCHOSTUIFLAG_NO3DBORDER
- MSHTML does not use 3-D borders.
- DOCHOSTUIFLAG_SCROLL_NO
- MSHTML does not have scroll bars.
- DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE
- MSHTML will not execute any script when loading pages.
- DOCHOSTUIFLAG_OPENNEWWIN
- MSHTML will open a site in a new window when a link is clicked rather than browse to the new site using the same browser window.
- DOCHOSTUIFLAG_DISABLE_OFFSCREEN
- Not implemented.
- DOCHOSTUIFLAG_FLAT_SCROLLBAR
- MSHTML will use flat scroll bars for any UI it displays.
- DOCHOSTUIFLAG_DIV_BLOCKDEFAULT
- MSHTML will insert the <DIV> tag if a return is entered in edit mode. Without this flag, MSHTML will use the <P> tag.
- DOCHOSTUIFLAG_ACTIVATE_CLIENTHIT_ONLY
- MSHTML will only become UI active if the mouse is clicked in the client area of the window. It will not become UI active if the mouse is clicked on a nonclient area, such as a scroll bar.
- DOCHOSTUIFLAG_OVERRIDEBEHAVIORFACTORY
- MSHTML will consult the host before retrieving a behavior from the URL specified on the page.
- DOCHOSTUIFLAG_CODEPAGELINKEDFONTS
- This flag was added to Microsoft® Internet Explorer 5 to provide font selection compatibility for Microsoft® Outlook® Express. If the flag is enabled, the displayed characters are inspected to determine whether the current font supports the code page. If disabled, the current font is used, even if it does not contain a glyph for the character.
Note This flag assumes that the user is using Internet Explorer 5 and Outlook Express 4.0.
- DOCHOSTUIFLAG_URL_ENCODING_DISABLE_UTF8
- This flag was added to Internet Explorer 5 to control how nonnative URLs are transmitted over the Internet. Nonnative refers to characters outside the multibyte encoding of the URL. If this flag is set, the URL is not submitted to the server in UTF-8 encoding.
- DOCHOSTUIFLAG_URL_ENCODING_ENABLE_UTF8
- This flag was added to Internet Explorer 5 to control how nonnative URLs are transmitted over the Internet. Nonnative refers to characters outside the multibyte encoding of the URL. If this flag is set, the URL is submitted to the server in UTF-8 encoding.
- DOCHOSTUIFLAG_ENABLE_FORMS_AUTOCOMPLETE
- The flag enables the AutoComplete feature for forms in the hosted browser. The Intelliforms feature will only be turned on if the user has previously enabled it. If the user has turned the AutoComplete feature off for forms, it will be off whether this flag is specified or not.
Enumerated Type Information
Windows NT Use version 4.0 Windows Use Windows 95 and later Header Mshtmhst.h; Mshtmhst.idl Minimum availability Windows 95, Windows NT 4.0