By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,565 Members | 1,766 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,565 IT Pros & Developers. It's quick & easy.

mouse click

P: n/a
How can I prevent using right mouse click ?

Hrcko
Nov 16 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Use JavaScript. Search Google and I am sure you will get a ton of sample
code.
I have never had the need to use it so I can't give you sample code.

--
in**@dowhileloop.com
http://dowhileloop.com
http://publicjoe.dowhileloop.com -- .NET Tutorials
"Hrvoje Voda" <hr*********@luatech.com> wrote in message
news:d0**********@ls219.htnet.hr...
How can I prevent using right mouse click ?

Hrcko

Nov 16 '05 #2

P: n/a

"Hrvoje Voda" <hr*********@luatech.com> wrote in message
news:d0**********@ls219.htnet.hr...
How can I prevent using right mouse click ?

Hrcko

Please clarify your situation.
In a normal event-driven application, you don't need to "prevent" the user
from doing anything, you simply don't program a response to a given event
and the event is ignored by your application.
I suspect this is not what you have in mind, so please educate us further.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 16 '05 #3

P: n/a
I have an click event on picture control.
When I click on it I change the picture.

I would like to prevent user of using the right mouse click.
He could use only the left.
"Peter van der Goes" <p_**********@toadstool.u> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...

"Hrvoje Voda" <hr*********@luatech.com> wrote in message
news:d0**********@ls219.htnet.hr...
How can I prevent using right mouse click ?

Hrcko

Please clarify your situation.
In a normal event-driven application, you don't need to "prevent" the user
from doing anything, you simply don't program a response to a given event
and the event is ignored by your application.
I suspect this is not what you have in mind, so please educate us further.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.

Nov 16 '05 #4

P: n/a
Like I said before, use JavaScript. There is no need to go and look for
events in VS.

--
in**@dowhileloop.com
http://dowhileloop.com
http://publicjoe.dowhileloop.com -- .NET Tutorials
"Hrvoje Voda" <hr*********@luatech.com> wrote in message
news:d0**********@ls219.htnet.hr...
How can I prevent using right mouse click ?

Hrcko

Nov 16 '05 #5

P: n/a

"Hrvoje Voda" <hr*********@luatech.com> wrote in message
news:d0**********@ls219.htnet.hr...
How can I prevent using right mouse click ?

Hrcko

Please clarify your situation.
In a normal event-driven application, you don't need to "prevent" the user
from doing anything, you simply don't program a response to a given event
and the event is ignored by your application.
I suspect this is not what you have in mind, so please educate us further.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 16 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.