An application sends the IMC_SETSENTENCEMODE message to an IME window to set the current sentence mode.
msg = (UINT) WM_IME_CONTROL;
wParam = (WPARAM) IMC_SETSENTENCEMODE;
lParam = 0;
Parameters
lParam
Sentence mode. Can be one of the values given in the "IME Sentence Modes" table in Input Method Editor Constants.
Return Values
Returns zero if successful, nonzero otherwise.