Platform SDK: International Features |
An application sends the IMC_GETCOMPOSITIONWINDOW command to an IME window to get the position of the composition window. Because the IME may adjust the position of a composition window, an application uses this command to get the actual position to decide whether to reposition the window.
To send this command, use the WM_IME_CONTROL message with wParam and lParam set as follows.
Returns zero if successful, nonzero otherwise.
The returned position is in window coordinates relative to the window having the current input focus.
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Imm.h.
Input Method Editor Overview, Input Method Editor Commands, COMPOSITIONFORM