hidden.frm

来自「获取操作系统启动权限」· FRM 代码 · 共 40 行

FRM
40
字号
VERSION 5.00
Begin VB.Form hidden 
   BorderStyle     =   4  'Fixed ToolWindow
   ClientHeight    =   480
   ClientLeft      =   45
   ClientTop       =   285
   ClientWidth     =   3690
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   480
   ScaleWidth      =   3690
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  'Windows Default
   Visible         =   0   'False
   Begin VB.Label Label1 
      Caption         =   "This form is invicible and manage the messages"
      Height          =   285
      Left            =   90
      TabIndex        =   0
      Top             =   90
      Width           =   3435
   End
End
Attribute VB_Name = "hidden"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Public Event Clicked(msg As Long)

Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Dim msg As Long
    Dim sFilter As String
    msg = X / Screen.TwipsPerPixelX
    RaiseEvent Clicked(msg)
End Sub

⌨️ 快捷键说明

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