Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Force MouseClick, (User32.dll)

Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 9th Apr 2008 14:44 Edited at: 9th Apr 2008 15:51
Please note that the Constants are the Commands, as a result, this would make a great #Include Files as it gives about 10 new mouse commands

I origionally posted this in code snippets, but someone deleted it as i didn't include [DBP] in the title

This is very simple to use, for example you can simulate a left mouseclick like this

Or like this

The second version, If you delay the MOUSE_LEFTUP, then it should force a click and drag situation, but i've not tested this.

This souce also includes commands for Middle + Right Click and Double Click, but by calling MOUSE_EVENT(Btns), you can also simulate Combos, Double Right Click, Whatever you want

I was messing arround with this last night to link it to a JoyPad

Everyone Be Cool, You, Be Cool.
Years of Service
User Offline
Joined: 19th Oct 2006
Location: Netherlands
Posted: 13th Apr 2008 05:41
sounds cool, ill try it out sometime, im too busy atm
B d0t T
Years of Service
User Offline
Joined: 23rd Nov 2006
Posted: 9th Jun 2008 16:41
Wow cheers for this, nice and simple!

im not good at this dark basic stuff

Login to post a reply

Server time is: 2024-02-21 01:14:01
Your offset time is: 2024-02-21 01:14:01