Επεξεργασία

Κοινή χρήση μέσω


IBrowserService2::SetActivateState method (shdeprecated.h)

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

[in] u

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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shdeprecated.h