View Full Version : ماوس را به یک مکانی برد سپس کلید کرد ؟
راحله سعادتی
جمعه 19 اسفند 1384, 20:19 عصر
ماوس را به یک مکانی برد سپس کلید کرد ؟
بردن به یک مکانی را میدانم
فقط کلیکش را نمی دانم
mehdi_394
جمعه 19 اسفند 1384, 23:12 عصر
به پنجره زیر مکان نمای ماوس پیام Bm_click رو ارسال کن
An application sends a BM_CLICK message to simulate the user clicking a button. This message causes the button to receive a WM_LBUTTONDOWN and a WM_LBUTTONUP message, and the button's parent window to receive a BN_CLICKED notification message.
BM_CLICK
wParam = 0; // not used; must be zero
lParam = 0; // not used; must be zero
vcldeveloper
شنبه 20 اسفند 1384, 06:18 صبح
ماوس را به یک مکانی برد
SetCursorPos
-------------------------
Ahmad_Crack
شنبه 20 اسفند 1384, 10:50 صبح
{Simulate the mouse move}
Mouse_Event(MOUSEEVENTF_ABSOLUTE or
MOUSEEVENTF_MOVE,
Pt.x, Pt.y, 0, 0) ;
{Simulate the left mouse button down}
Mouse_Event(MOUSEEVENTF_ABSOLUTE or
MOUSEEVENTF_LEFTDOWN,
Pt.x, Pt.y, 0, 0) ;;
{Simulate the left mouse button up}
Mouse_Event(MOUSEEVENTF_ABSOLUTE or
MOUSEEVENTF_LEFTUP,
Pt.x, Pt.y, 0, 0) ;;
راحله سعادتی
شنبه 20 اسفند 1384, 11:30 صبح
دست شما درد نکنه .
ولی خوب متوجه نشدم
vBulletin® v4.2.5, Copyright ©2000-1403, Jelsoft Enterprises Ltd.