Hello,
You sure can:
Hope this helpsCode:Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) ' check for the right mouse button If Button = 2 Then ' set the forms windowstate to minimize Form1.WindowState = 1 End If End Sub




Reply With Quote