How can i detect mouse button clicked?
does i have to use api function?
this will detect if mouse button clicked :
Private Sub Form1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseDown If e.Button = MouseButtons.Left Then MsgBox("left button clicked") ElseIf e.Button = MouseButtons.Right Then MsgBox("Right button clicked") End If End Sub
i convert it into select-case.
thanks for direction :)
this is my convert code :
Select Case e.Button Case MouseButtons.Left MsgBox("left button clicked") Case MouseButtons.Middle MsgBox("Right button clicked") Case MouseButtons.Right MsgBox("Middle button clicked") End Select
Nice converting friend...
>>thanks for direction
Any time :)
i want to print a persian file by thermal printer..
i can print an english file esily..but i face the proble while printing persian text..
i think i ...
I am working on program that will connect to MySQL database, colect data from table and show them in grid. Where user can edit cell, and then on ...
I'm coding a program to learn OpenGL in C++ (based off of The Benny Boxes tutorials) and I've run into a snag where I don't get any errors, but my ...