ICSharpCode.TextEditor.Ime.SendMessage C# (CSharp) Method

SendMessage() private method

private SendMessage ( IntPtr hWnd, int msg, IntPtr wParam, COMPOSITIONFORM lParam ) : IntPtr
hWnd System.IntPtr
msg int
wParam System.IntPtr
lParam COMPOSITIONFORM
return System.IntPtr
		private static extern IntPtr SendMessage(IntPtr hWnd, int msg, IntPtr wParam, COMPOSITIONFORM lParam);
		[ DllImport("user32.dll") ]

Same methods

Ime::SendMessage ( IntPtr hWnd, int msg, IntPtr wParam, [ lParam ) : IntPtr

Usage Example

Esempio n. 1
0
 public void SetIMEWindowLocation(int x, int y)
 {
     if (Ime.disableIME || this.hIMEWnd == IntPtr.Zero)
     {
         return;
     }
     Ime.POINT pOINT = new Ime.POINT()
     {
         x = x,
         y = y
     };
     Ime.COMPOSITIONFORM cOMPOSITIONFORM = new Ime.COMPOSITIONFORM()
     {
         dwStyle      = 2,
         ptCurrentPos = pOINT,
         rcArea       = new Ime.RECT()
     };
     try
     {
         Ime.SendMessage(this.hIMEWnd, 643, new IntPtr(12), cOMPOSITIONFORM);
     }
     catch (AccessViolationException accessViolationException)
     {
         this.Handle(accessViolationException);
     }
 }
All Usage Examples Of ICSharpCode.TextEditor.Ime::SendMessage