ImmSetOpenStatus

The ImmSetOpenStatus function opens or closes the IME.

BOOL ImmSetOpenStatus(
  HIMC hIMC,  
  BOOL fOpen  
);
 

Parameters

hIMC
Handle to the input context.
fOpen
Open flag. If TRUE, the IME is opened; otherwise, it is closed.

Return Values

If the function succeeds, the return value is a nonzero value.

If the function fails, the return value is zero.

Remarks

This function causes a IMN_SETOPENSTATUS message to be sent to the application.

QuickInfo

  Windows NT: Requires version 4.0 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Requires version 2.0 or later (FE).
  Header: Declared in imm.h.
  Import Library: Use imm32.lib.

See Also

Input Method Editor Overview, Input Method Editor Functions, IMN_SETOPENSTATUS