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.

Newcomers DBPro Corner / Snippets For Newcomers - 2 Reading A Mouse Double-Click

Author
Message
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 13th Aug 2005 04:08 Edited at: 14th Aug 2005 21:29
DB Classic Snippet.

This is a small function which lets you detect if the left mouse button has been clicked or double-clicked.

If it returns a 1 then the mouse was single-clicked. If it returns 2 then it was double-clicked.



TDK_Man
Cameron
19
Years of Service
User Offline
Joined: 7th Aug 2005
Location: In Your Closet...
Posted: 13th Aug 2005 04:15
Needed that for my game. Thanks


My Website With Some Of My Games: www.freewebs.com/actiongamestudios

Login to post a reply

Server time is: 2024-09-24 01:35:10
Your offset time is: 2024-09-24 01:35:10