Post Reply Home » Forums » EverQuest 2 » EverQuest 2 Premium Discussions

MouseDown / UP : EverQuest 2 Premium Discussions

Posted: January 17th, 2005
richyrich
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
User avatar
Premium
Total Posts:6718 Joined:2004
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!
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 13 guests
Post Reply