public long DragWindowFun(IntPtr es) { Lib.ReleaseCapture(); Point DownPoint = new Point(); Lib.GetCursorPos(ref DownPoint); Lib.SendMessage(ltf.windowHandle(), 0x00A1, 2, (DownPoint.X & 0xFFFF) + (DownPoint.Y & 0xFFFF) * 0x10000); return(ltf.JsUndefined()); }