private void SetMouseDeviceY(int y)
{
if (!this.Focused) return;
Point curPos;
NativeMethods.GetCursorPos(out curPos);
Point targetPos = this.PointToScreen(new Point(this.PointToClient(curPos).X, y));
NativeMethods.SetCursorPos(targetPos.X, targetPos.Y);
return;
}