|
|
|
Page 1 of 1 |
[ 2 posts ] |
|
MouseDown / UP : EverQuest 2 Premium Discussions
|
|
Posted: January 17th, 2005, 8:34 am
|
|
|
|
richyrich
richyrich's Reps:
|
Wyv (or anyone),
What do the parameters on the LMouseDown/Up do? They really don't make much sense and don't seem to work.
I am just trying to move a window on screen, and have it working, but wanted to make sure there wasn't an easier way or if I was missing something.
I am down a MouseMove(x,y), LMouseDown 0,0, them MouseMove(Newx, NewY), then LMouseUp 0,0
and it works well.
XUScriptHost.LMouseDown(x As Long, y As Long) 'Presses the Left Mouse button Down
XUScriptHost.LMouseUp(x As Long, y As Long) 'Releases the Left Mouse Button
I experimented with the x,y in the down/up commands, and they didn't appear to do anything...
Thanks,
Rich
|
|
|
|
|
Posted: January 17th, 2005, 4:13 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
It is supposed to click your mouse. Usually, it will flag something is wrong in the game engine, if you do not do a movemouse to the point you are clicking on first.
I use the LMouseClick function instead. It does everything for you. Moving the mouse, and clicking.
The syntax for LMouseClick is
LMouseClick, x,y, clicks, delay
I use LMouseClick x,y,1,1
But I guess if you want to move the window, I would suggest this method:
FullMouseMove x,y
LMouseDown x,y
FullMouseMove x,y
LMouseUp x,y
_________________
Use Search first, ask questions later!
|
|
|
|
|
Who is online |
|
Users browsing this forum: No registered users and 59 guests |
|
|
|