Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How To Find Out If Mouse Is Being Help Down

Status
Not open for further replies.

apc2003

Programmer
Aug 29, 2003
54
0
0
GB
I have a situation where I need to know if a mouse button is being held down by the user.

I think it could be done in Delphi via the Mouse shift state.

Is it possible to find this out in C#? If so can anyone suggest how?

Thanks in advance...
 
this wouldn't be fired if the user clicked the mouse outside the form and dragged across it.

what about testing the mouse state in the MouseEventArgs object from the MouseMove event?


mr s. <;)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top