Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

Get info about mouse buttons

Hi!

How can I get information about mouse buttons? (which buttons are pressed)

Thanks..
0
ZhaawZ
Asked:
ZhaawZ
1 Solution
 
LMuadDIbCommented:
you dont mention if you want mouse events globally or within your application

Within your applications check this out (3 part tutorial) :
http://delphi.about.com/library/weekly/aa071399.htm

Outside your applications:
http://www.swissdelphicenter.ch/torry/showcode.php?id=1729
0
 
ZhaawZSoftware DeveloperAuthor Commented:
found it..
if GetAsyncKeyState(VK_LBUTTON) and $8000) = $8000 then {left button is pressed; VK_RBUTTON for right button and VK_MBUTTON for middle button}
0
 
HypoviaxCommented:
Yep that's right

Close the question and get a refund
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
ZhaawZSoftware DeveloperAuthor Commented:
How can I do that?..
0
 
-Karamja-Commented:
Post in Community Support,
http://www.experts-exchange.com/Community_Support/

Look at some of the other posts/questions you know what you have to do.
0
 
PashaModCommented:
Closed, 100 points refunded.
PashaMod
Community Support Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now