An application sends the IMC_SETOPENSTATUS message to an IME window to open or close the current IME.
msg = (UINT) WM_IME_CONTROL;
wParam = (WPARAM) IMC_SETOPENSTATUS;
lParam = (LPARAM) bOpen;
Parameters
lParam
Open status. If TRUE, the IME is opened, closed otherwise.
Return Values
Returns zero if successful, nonzero otherwise.
Remarks
When processing this message, the IME window changes the current input context.