1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| Private Sub cmdTransparent_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
'*******************************************************************
'Pour la forme...
Const vbLeftButton = 1 'Le bouton gauche
Const vbRightButton = 2 'Le bouton droit
Const vbMiddleButton = 4 'Le bouton central
Const vbShiftMask = 1 'La touche MAJ
Const vbCtrlMask = 2 'La touche CTRL
Const vbAltMask = 4 'La touche ALT
'*******************************************************************
If Button = vbRightButton And Shift = (vbShiftMask + vbCtrlMask) Then
MsgBox "C'est bien, tu as trouvé la combine !!!", , "Bravo"
End If
End Sub |
Partager