IActiveIMMApp::SetOpenStatus method

Opens or closes the Input Method Editor (IME).

Syntax

HRESULT SetOpenStatus(
  [in] HIMC hIMC,
  [in] BOOL fOpen
);

Parameters

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

  • fOpen [in]
    A boolean value that contains the status. If TRUE, the IME is opened; otherwise the IME is closed.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method maps to the ImmSetOpenStatus function that is documented in the Windows Software Development Kit (SDK).

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 5.0

Header

Dimm.h

IDL

Dimm.idl

See also

IActiveIMMApp