AIT_IMESetConversionStatus

Description

Sets the current conversion status.

Format

bool AIT_IMESetConversionStatus  (
 integer nWndHandle,     // Window handle
 integer nConvMode,      // Conversion mode
 integer nSentenceMode   // Statement mode
);

Parameters

nWndHandle (input)

Specify a window handle to which to set status.

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

nConvMode (input)

Specify a combination of conversion modes.

For details on bit values, see AIT_IMEGetConversionStatus.

nSentenceMode (input)

Specify statement mode.

For details on bit values, see AIT_IMEGetConversionStatus.

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 codes that AIT_GetLastError might return:

Extended error numberError code
87ERROR_INVALID_PARAMETER
1400ERROR_INVALID_WINDOW_HANDLE