IBrowserService::SetFlags method (shdeprecated.h)

Deprecated. Sets flags that indicate browser status.

Syntax

HRESULT SetFlags(
  DWORD dwFlags,
  DWORD dwFlagMask
);

Parameters

dwFlags

Type: DWORD

A bitmask used in conjunction with the flags indicated in dwFlagMask. For each dwFlagMask bit, the corresponding bit in this value sets (1) or disables (0) that state.

dwFlagMask

Type: DWORD

One or more of the following values.

BSF_REGISTERASDROPTARGET (0x00000001)

The browser is registered as a drop target for navigation.

BSF_THEATERMODE (0x00000002)

The browser is in theater mode. Not supported by: Internet Explorer 7 or Windows Vista

BSF_NOLOCALFILEWARNING (0x00000010)

Display a no local file warning.

BSF_UISETBYAUTOMATION (0x00000100)

The browser's UI is set by automation.

BSF_RESIZABLE (0x00000200)

The browser can be resized. Not supported by : Internet Explorer 7 or Windows Vista

BSF_CANMAXIMIZE (0x00000400)

The browser can be maximized. Not supported by : Internet Explorer 7 or Windows Vista

BSF_TOPBROWSER (0x00000800)

The browser is the top browser window.

BSF_NAVNOHISTORY (0x00001000)

The current location should be added to the history.

BSF_HTMLNAVCANCELED (0x00002000)

Navigation was canceled.

BSF_DONTSHOWNAVCANCELPAGE (0x00004000)

Do not display a page explaining that the navigation was canceled.

BSF_SETNAVIGATABLECODEPAGE (0x00008000)

Set a navigable code page.

BSF_DELEGATEDNAVIGATION (0x00010000)

Navigation has been delegated.

BSF_TRUSTEDFORACTIVEX (0x00020000)

Trust ActiveX objects.

BSF_MERGEDMENUS (0x00040000)

0x00040000. 0x00040000. Indicates that this browser instance has merged menus. Not supported by: Internet Explorer 7 or Windows Vista.

BSF_FEEDNAVIGATION (0x00080000)

0x00080000. Set on navigation to a feed.

BSF_FEEDSUBSCRIBED (0x00100000)

0x00100000. Set on navigation to a subscribed feed.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header shdeprecated.h