code:var hWnd = wnd.Handle; var WM_CHAR = 0x102; var dot = 0x2E; Interop.Call("user32", "SendMessage", hWnd, WM_CHAR, dot, 0);