IBrowserService2::SetActivateState method

Deprecated. Updates the value of the _uActivateState member of the BASEBROWSERDATA structure, which tracks whether the browser view window is in an activated state. The derived class makes this call to the base class.

Syntax


HRESULT SetActivateState(
  [in] UINT u
);

Parameters

u [in]

Type: UINT

The activation state of the window. This is always the SVUIA_ACTIVATE_FOCUS (0x0002) value from the SVUIA_STATUS enumeration defined in Shobjidl.h.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Product

Internet Explorer 5.0

Header

Shdeprecated.h

IDL

Shdeprecated.idl

 

 

Show: