papil2010
شنبه 26 تیر 1389, 17:53 عصر
سلام دوستان
چطور میشه مختصات موس رو با برنامه نویسی تغییر بدیم.
من خودم از این تابع api استفاده کردم اما نتیجه نگرفتم :
[DllImport("user32.dll", CharSet = CharSet.Unicode)]
static extern long SetCursorPos(long x,long y);
این تابع مختصات x رو تغییر میده اما y اون رو به طور خودکار صفر میزاره
ممنون میشم اگه کمک کنید:تشویق::تشویق:
چطور میشه مختصات موس رو با برنامه نویسی تغییر بدیم.
من خودم از این تابع api استفاده کردم اما نتیجه نگرفتم :
[DllImport("user32.dll", CharSet = CharSet.Unicode)]
static extern long SetCursorPos(long x,long y);
این تابع مختصات x رو تغییر میده اما y اون رو به طور خودکار صفر میزاره
ممنون میشم اگه کمک کنید:تشویق::تشویق: