tạo 1 form rồi để Visible = True . Rồi tạo 1 timer có Interval = 700
Mã:
Trong đó " -32767 " là Hex của key Insert ai mún tìm thêm hotkey thì đi lên gu gồ nha
Mã:
- Code:
[/color][color=blue]Dim KeyResult As Long
KeyResult = GetAsyncKeyState(vbKeyInsert)
If KeyResult = -32767 And Me.Visible = True Then
Form1.Visible = False
Exit Sub
End If
If KeyResult = -32767 And Me.Visible = False Then
Form1.Visible = True
Exit Sub
End If[/color][color=blue]
Trong đó " -32767 " là Hex của key Insert ai mún tìm thêm hotkey thì đi lên gu gồ nha