⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 keylogger.frm

📁 大量优秀的vb编程
💻 FRM
字号:
VERSION 5.00
Begin VB.Form KeyLogger 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "鼠标记录器"
   ClientHeight    =   4656
   ClientLeft      =   84
   ClientTop       =   648
   ClientWidth     =   5628
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4656
   ScaleWidth      =   5628
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton Command3 
      Caption         =   "退出程序"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   18
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   855
      Left            =   1440
      TabIndex        =   3
      Top             =   3600
      Width           =   2055
   End
   Begin VB.CommandButton Command1 
      Caption         =   "Command1"
      Height          =   375
      Left            =   240
      TabIndex        =   2
      Top             =   6960
      Width           =   735
   End
   Begin VB.TextBox Text1 
      Enabled         =   0   'False
      Height          =   2415
      Left            =   360
      MultiLine       =   -1  'True
      TabIndex        =   0
      Top             =   960
      Width           =   4812
   End
   Begin VB.Timer Timer1 
      Interval        =   1
      Left            =   3960
      Top             =   3840
   End
   Begin VB.Label Label5 
      Height          =   375
      Left            =   480
      TabIndex        =   4
      Top             =   5160
      Width           =   495
   End
   Begin VB.Label Label2 
      Alignment       =   2  'Center
      Appearance      =   0  'Flat
      BackColor       =   &H80000004&
      BorderStyle     =   1  'Fixed Single
      Caption         =   "鼠标行为记录器"
      BeginProperty Font 
         Name            =   "Times New Roman"
         Size            =   27.6
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H80000008&
      Height          =   732
      Left            =   360
      TabIndex        =   1
      Top             =   120
      Width           =   4932
   End
End
Attribute VB_Name = "KeyLogger"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Dim i As Integer
Private Sub Command3_Click()
End
End Sub

Private Sub Timer1_Timer()
x = GetAsyncKeyState(1)
If x = -32767 Then
    Text1.Text = Text1.Text + "(单击鼠标左键)"
End If
x = GetAsyncKeyState(2)
If x = -32767 Then
    Text1.Text = Text1.Text + "(单击鼠标右键)"
End If
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -