📄 frmabout.frm
字号:
VERSION 5.00
Begin VB.Form frmAbout
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 4815
ClientLeft = 0
ClientTop = 0
ClientWidth = 6720
LinkTopic = "Form1"
ScaleHeight = 4815
ScaleWidth = 6720
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton cmdExit
Caption = "确 定"
Height = 375
Left = 3480
TabIndex = 0
Top = 3840
Width = 2415
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "小子 敢不顶我 我崩了你"
ForeColor = &H00400000&
Height = 615
Left = 4920
TabIndex = 5
Top = 1560
Width = 1215
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "Copyright Crocodile Studio 2004 "
BeginProperty Font
Name = "宋体"
Size = 7.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 255
Left = 600
TabIndex = 4
Top = 3600
Width = 2535
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "作者:鳄鱼"
ForeColor = &H00FF0000&
Height = 255
Left = 4920
TabIndex = 3
Top = 1080
Width = 1335
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "基于TCP/IP建造"
ForeColor = &H00FFFFFF&
Height = 255
Left = 1320
TabIndex = 2
Top = 1080
Width = 1815
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "聊吧 v 0.1"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 375
Left = 960
TabIndex = 1
Top = 600
Width = 2775
End
Begin VB.Image Image1
Height = 4815
Left = 0
Picture = "frmAbout.frx":0000
Stretch = -1 'True
Top = 0
Width = 6735
End
End
Attribute VB_Name = "frmAbout"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function CreateRoundRectRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, ByVal Y3 As Long) As Long
Private Declare Function SetWindowRgn Lib "user32" (ByVal hWnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long
Private Declare Function DeleteObject Lib "gdi32" (ByVal hObject As Long) As Long
Private Const RGN_DIFF = 4
Private MyRgn As Long
Private Sub cmdExit_Click()
Unload Me
End Sub
Private Sub Form_Load()
MyRgn = 0
With frmAbout
.Left = 2000
.Top = 2000
End With
If MyRgn <> 0 Then Exit Sub
Dim w As Long, h As Long
w = ScaleX(frmAbout.Width, vbTwips, vbPixels)
h = ScaleY(frmAbout.Height, vbTwips, vbPixels)
MyRgn = CreateRoundRectRgn(30, 30, w - 30, h - 30, 100, 100)
Call SetWindowRgn(frmAbout.hWnd, MyRgn, True)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -