📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "正在加载..."
ClientHeight = 750
ClientLeft = 60
ClientTop = 345
ClientWidth = 2625
LinkTopic = "Form1"
ScaleHeight = 750
ScaleWidth = 2625
StartUpPosition = 2 '屏幕中心
Begin VB.Label Label1
Caption = "正在创建图形(异形)窗口,请稍候..."
Height = 615
Left = 120
TabIndex = 0
Top = 120
Width = 2535
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public Face As Long
Private Sub Form_Load()
Me.Show
DoEvents
Face = CreateRegionFromFile(App.Path & "\bill2.bmp")
Form2.Show
SetWindowRgn Form2.hwnd, Face, True
' make window stay on top
SetWindowPos Form2.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE + SWP_NOSIZE + SWP_SHOWWINDOW
Me.Visible = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -