关于VB自定义鼠标右键
Private Sub Text2_Mousedown(button As Integer, shift As Integer, X As Single, Y As Single)
If button = vbKeyRButton Then
PopupMenu mnushortcut
End If
End Sub '*******************************************************鼠标右键中的菜单
运行后
在屏幕左上角出现如下菜单: