public void SetIMEWindowLocation(int x, int y) { Ime.POINT pOINT = new Ime.POINT(); pOINT.x = x; pOINT.y = y; Ime.COMPOSITIONFORM cOMPOSITIONFORM = new Ime.COMPOSITIONFORM(); cOMPOSITIONFORM.dwStyle = 2; cOMPOSITIONFORM.ptCurrentPos = pOINT; cOMPOSITIONFORM.rcArea = new Ime.RECT(); Ime.SendMessage(this.hIMEWnd, 643, 12, cOMPOSITIONFORM); }
private static extern int SendMessage(IntPtr hWnd, int msg, int wParam, Ime.COMPOSITIONFORM lParam);