Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 Distribution Function Administration Guide


AIT_IMESetOpenStatus

Organization of this page

Description

Opens and closes the IME.

Format

bool AIT_IMESetOpenStatus  (
  integer nWndHandle,     // Window handle
  bool bCondition         // Condition
);

Parameters

nWndHandle (input)

Specify a window handle to be assigned status.

With 0 set, the window handle with an input focus is used.

bCondition (input)

Specify whether to open or close the IME. Setting true opens the IME, while setting false closes the IME.

Return values

The return value is true if the function was executed normally, and false if not. If the function has returned false, you can use AIT_GetLastError to acquire an extended error code. The following gives the error code that AIT_GetLastError might return:

Extended error number

Error code

1400

ERROR_INVALID_WINDOW_HANDLE