DOCHOSTUIFLAGDOCHOSTUIFLAG*
*Contents  *Index  *Topic Contents
*Previous Topic: DOCHOSTUIINFO
*Next Topic: DOCHOSTUIDBLCLK

DOCHOSTUIFLAG

typedef enum tagDOCHOSTUIFLAG{
    DOCHOSTUIFLAG_DIALOG = 1,
    DOCHOSTUIFLAG_DISABLE_HELP_MENU = 2,
    DOCHOSTUIFLAG_NO3DBORDER = 4,
    DOCHOSTUIFLAG_SCROLL_NO = 8,
    DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE = 16,
    DOCHOSTUIFLAG_OPENNEWWIN = 32,
    DOCHOSTUIFLAG_DISABLE_OFFSCREEN = 64,
    DOCHOSTUIFLAG_FLAT_SCROLLBAR = 128
    DOCHOSTUIFLAG_DIV_BLOCKDEFAULT = 256,
    DOCHOSTUIFLAG_ACTIVATE_CLIENTHIT_ONLY = 512
 }DOCHOSTUIFLAG;

Defines a set of flags that indicate the capabilities of a IDocHostUIHandler implementation.

DOCHOSTUIFLAG_DIALOG
IE4/MSHTML will not allow selection of the text in the form.
DOCHOSTUIFLAG_DISABLE_HELP_MENU
IE4/MSHTML will not display context menus.
DOCHOSTUIFLAG_NO3DBORDER
IE4/MSHTML does not use 3-D borders.
DOCHOSTUIFLAG_SCROLL_NO
IE4/MSHTML does not have scroll bars.
DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE
IE4/MSHTML will not execute any script when loading pages.
DOCHOSTUIFLAG_OPENNEWWIN
IE4/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 or used.
DOCHOSTUIFLAG_FLAT_SCROLLBAR
IE4/MSHTML will use flat scroll bars for any UI it displays. Not currently supported.
DOCHOSTUIFLAG_DIV_BLOCKDEFAULT
IE4/MSHTML will insert the <DIV> tag if a return is entered in edit mode. Without this flag, IE4/MSHTML will use the <P> tag.
DOCHOSTUIFLAG_ACTIVATE_CLIENTHIT_ONLY
IE4/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.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.