IActiveIME::SetActiveContext method

Notifies the current Active Input Method Editor (IME) of the active input context.

Syntax

HRESULT SetActiveContext(
  [in] HIMC hIMC,
  [in] BOOL fFlag
);

Parameters

  • hIMC [in]
    A handle to the input context.

  • fFlag [in]
    A boolean value that specifies the status of the input context. TRUE indicates that the input context is activated; and FALSE indicates that the input context is deactivated.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method maps to the ImeSetActiveContext function documented in the Windows 2000 Driver Development Kit (DDK).

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 5.0

Header

Dimm.h

IDL

Dimm.idl

DLL

Custom

See also

IActiveIME