Mouse Left = Mouse Right
-
Hi, If the users click mouse right button ,left button will be fired so how to equate mouse right button's action to mouse button left button's action. Thanks in advance.
-
Hi, If the users click mouse right button ,left button will be fired so how to equate mouse right button's action to mouse button left button's action. Thanks in advance.
;)Hi frnd, I don't get your problem.... Where this is happening? Nisar Inamdar.
-
;)Hi frnd, I don't get your problem.... Where this is happening? Nisar Inamdar.
i know it is little complicated but i said what i said :) i mean i want what i said.If i can find a way to handle what i want,i can make it my project better.. Thanks in advance...
-
Hi, If the users click mouse right button ,left button will be fired so how to equate mouse right button's action to mouse button left button's action. Thanks in advance.
Is this a problem you're trying to fix or a feature you're trying to implement?
-- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer
-
Is this a problem you're trying to fix or a feature you're trying to implement?
-- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer
Sounds like it is something he is trying to implement. I would imagine just trapping the mouse click event and setting the
Button
property to the left button if this is possible... --modified Which I am not sure is possible sincee.Button
doesn't have aset
property, onlyget
..."Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
-
Sounds like it is something he is trying to implement. I would imagine just trapping the mouse click event and setting the
Button
property to the left button if this is possible... --modified Which I am not sure is possible sincee.Button
doesn't have aset
property, onlyget
..."Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
well, we can use SendKeys class to implement for Mouse Keys.?
-
well, we can use SendKeys class to implement for Mouse Keys.?
SendKeys doesn't have anything that works with the mouse.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
-
SendKeys doesn't have anything that works with the mouse.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
Ok. if i wanted to call a function which is fired when mouse right button is clicked, how would i do that ? thanks in advance... atarikg...
-
Ok. if i wanted to call a function which is fired when mouse right button is clicked, how would i do that ? thanks in advance... atarikg...
Call the function from the MouseClick event... something like:
Private Sub Form1_MouseClick(ByVal sender As System.Object, _ ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseClick If e.Button = Windows.Forms.MouseButtons.Right Then yourFunctionHere End If End Sub
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
-
Sounds like it is something he is trying to implement. I would imagine just trapping the mouse click event and setting the
Button
property to the left button if this is possible... --modified Which I am not sure is possible sincee.Button
doesn't have aset
property, onlyget
..."Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
If you hook the mouse event you're able to play with the win32 data structures and make that sort of transform.
-- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer
-
If you hook the mouse event you're able to play with the win32 data structures and make that sort of transform.
-- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer
That is what I was wondering, maybe the OP should try that. :-D
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus