473,403 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

MouseClick vs. Click?

What is the difference between the MouseClick and Click events?
Feb 27 '06 #1
4 16703
MouseClick is new in .NET 2.0 and provide more information than Click did.
Click is left for compatibility purpose.

--
Regards,
Lloyd Dupont

NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:OG**************@TK2MSFTNGP11.phx.gbl...
What is the difference between the MouseClick and Click events?

Feb 27 '06 #2
Do you mean MouseDown? MouseDown catches both left and right clicks,
whether or not they have any other effect. Click is only for normal clicks
(left-clicks).

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:OG**************@TK2MSFTNGP11.phx.gbl...
What is the difference between the MouseClick and Click events?

Feb 27 '06 #3
No. As Lloyd mentioned, MouseClick is new to 2.0.

"Michael A. Covington" <lo**@ai.uga.edu.for.address> wrote in message
news:OY**************@tk2msftngp13.phx.gbl...
Do you mean MouseDown? MouseDown catches both left and right clicks,
whether or not they have any other effect. Click is only for normal
clicks (left-clicks).

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:OG**************@TK2MSFTNGP11.phx.gbl...
What is the difference between the MouseClick and Click events?


Feb 27 '06 #4
Peter,
Have you read the MSDN pages on Click & MouseClick events? Its seems rather
obvious (to me) what the differences are...

http://msdn2.microsoft.com/en-us/lib...rol.click.aspx

http://msdn2.microsoft.com/en-us/lib...ouseclick.aspx

--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:OG**************@TK2MSFTNGP11.phx.gbl...
| What is the difference between the MouseClick and Click events?
|
|
Feb 27 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Terje Johan Abrahamsen | last post by:
Hello. I have been trying desperately for a while to make Python push the left mousebutton. I have been able to let Python push a button in a box: def click(hwnd): win32gui.SendMessage(hwnd,...
2
by: | last post by:
Hi everybody. Need your help. How can I play sound (.wav-file / camera click) on mouseclick? TIA willy wuff ...
3
by: Hans | last post by:
Hi! In my windowsformapplication I have a DataGrid where the rowheader is not visible, and readOnly = true. The grid is bound to a DataView where AllowEdit, AllowNew and AllowDelete is set to...
4
by: Chris Dunaway | last post by:
I added a MouseClick event to a Button control. It responds properly to the Left click of the button, but not a middle click or right click. Is it possible to get a right click and/or middle...
1
by: JimBob | last post by:
Ok so i added this line of code to a dynamic PictureBox. (i dim it p) AddHandler p.MouseClick, AddressOf Hand.Canvas_Click what it would do is change the pic on the picbox but every time you click...
2
by: GS | last post by:
how can I tell if it is right mouse click from left mouseclick? I would also to test if a key like control is being held down at the same time. what I would really like to is to capture control...
1
by: Johnny E. Jensen | last post by:
Hello I've developen an MDI application using C# in VS2005 In my menu toolstrip i have the toplevel menuitems text starting with the; &File, &Admin to be able to use the ALT + KEYSTROKE. When I...
6
by: RolltheBall | last post by:
Hi there. I am trying to make a certain symbol to appear upon every mouseclick. However, the symbol is a cross and an arrow head. This is how I tried to do it. Private Sub Form1_Paint(ByVal...
2
by: dschu012 | last post by:
Is there a way to send mouseclick to an inactive window? My guess would be to use the Win32 API function PostMessge(). I tried to do this and it seems like that it may be sending the mouse click but...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.