[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Get info about mouse buttons

Posted on 2004-09-11
7
Medium Priority
?
181 Views
Last Modified: 2010-04-05
Hi!

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

Thanks..
0
Comment
Question by:ZhaawZ
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 4

Expert Comment

by:LMuadDIb
ID: 12036424
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
 
LVL 11

Author Comment

by:ZhaawZ
ID: 12036451
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
 
LVL 5

Expert Comment

by:Hypoviax
ID: 12036836
Yep that's right

Close the question and get a refund
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 11

Author Comment

by:ZhaawZ
ID: 12037384
How can I do that?..
0
 
LVL 2

Expert Comment

by:-Karamja-
ID: 12037716
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
 

Accepted Solution

by:
PashaMod earned 0 total points
ID: 12072849
Closed, 100 points refunded.
PashaMod
Community Support Moderator
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question