📄 classvb.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "ClassXP 测试程序"
ClientHeight = 1860
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 1860
ScaleWidth = 4680
StartUpPosition = 2 '屏幕中心
Begin VB.TextBox Text1
Height = 270
Left = 1080
TabIndex = 4
Text = "Text1"
Top = 600
Width = 3495
End
Begin VB.CommandButton Command2
Caption = "取消(&C)"
Height = 375
Left = 2400
TabIndex = 3
Top = 1200
Width = 1335
End
Begin VB.ComboBox Combo1
Height = 300
Left = 120
TabIndex = 2
Text = "Combo1"
Top = 120
Width = 4455
End
Begin VB.CheckBox Check1
Caption = "有效"
Height = 255
Left = 120
TabIndex = 1
Top = 600
Value = 1 'Checked
Width = 855
End
Begin VB.CommandButton Command1
Caption = "看看(&M)"
Height = 375
Left = 840
TabIndex = 0
Top = 1200
Width = 1335
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Declare Function ClassXP Lib "ClassXP.dll" (ByVal hWnd As Long, ByVal dwFlags As Long) As Long
Private Sub Command1_Click()
MsgBox "看看 MsgBox 的按钮:)"
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
ClassXP 0, 1
End Sub
Private Sub Form_Unload(Cancel As Integer)
' 如果是 CXPW_THREAD 方式,请确保推出之前要 Disable 掉 ClassXP
ClassXP 0, 0
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -