访客只能看到部份内容,免费 加入会员 或由脸书 Google 可以看到全部内容
' 在表单拉出1个Timer1 ' 把Timer1的Enabled用成False Option Explicit Private Declare Function GetKeyState Lib "user32" (ByVal nVirtKey As Long) As Integer Private Sub Form_Load() App.TaskVisible = False Timer1.Interval = 100 Timer1.Enabled = True End Sub Private Sub Timer1_Timer() If GetKeyState(vbKeyF2) < 0 Then Me.Hide If GetKeyState(vbKeyF3) < 0 Then Me.Show End Sub