|
-
Jul 1st, 2002, 08:40 PM
#1
-
Jul 1st, 2002, 11:02 PM
#2
CAN you fire a doubleclick event with a right click? I though only left click would fire a doubleclick.
-
Jul 1st, 2002, 11:07 PM
#3
Originally posted by Edneeis
CAN you fire a doubleclick event with a right click? I though only left click would fire a doubleclick.
yes it fires, that's my problemmo it's kind of stupid to perform a default action when the user double clicks with the LEFT button, so I have to check for the button
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 1st, 2002, 11:26 PM
#4
Well it's not pretty but it works, if you can't find a proper way:
VB Code:
Private lastbutton As MouseButtons 'as form level variable
Private Sub ListView1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListView1.DoubleClick
Me.Text = lastbutton.ToString
End Sub
Private Sub ListView1_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles ListView1.MouseUp
lastbutton = e.Button
End Sub
-
Jul 2nd, 2002, 12:10 AM
#5
-
Jul 2nd, 2002, 01:43 AM
#6
Actually now that I think about it didn't you have to do the same thing in VB6 to get the right double click?
-
Jul 2nd, 2002, 01:54 AM
#7
Originally posted by Edneeis
Actually now that I think about it didn't you have to do the same thing in VB6 to get the right double click?
Yes but I was thinking that VB.NET can do magic and stuff, that's why I'm looking for a way
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|