?? ovaltip.frm
字號:
VERSION 5.00
Begin VB.Form OvalTip
BackColor = &H0000FFFF&
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 1365
ClientLeft = 0
ClientTop = 0
ClientWidth = 2640
BeginProperty Font
Name = "MS Sans Serif"
Size = 13.5
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
ScaleHeight = 91
ScaleMode = 3 'Pixel
ScaleWidth = 176
ShowInTaskbar = 0 'False
StartUpPosition = 3 'Windows Default
Begin VB.Timer HideTim
Enabled = 0 'False
Interval = 10
Left = 1440
Top = 720
End
Begin VB.Timer ShowTim
Enabled = 0 'False
Interval = 10
Left = 960
Top = 720
End
Begin VB.Timer TipTim
Interval = 2000
Left = 480
Top = 720
End
Begin VB.Label TipLbl
Alignment = 2 'Center
BackColor = &H00E0E0E0&
BackStyle = 0 'Transparent
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 0
TabIndex = 0
Top = 0
Width = 2175
End
End
Attribute VB_Name = "OvalTip"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
'sndPlaySound App.Path & "\" & File_Name, SND_ASYNC
sndPlaySound File_Name, SND_ASYNC
TipWidth = OvalTip.Width
'temp = 0
TipLbl.Caption = Tip_String
OvalTip.Width = 0
ShowTim.Enabled = True
HideTim.Enabled = False
End Sub
Private Sub HideTim_Timer()
If (OvalTip.Width > 100) Then
OvalTip.Width = OvalTip.Width - 100
SetWindowRgn OvalTip.hwnd, _
CreateRoundRectRgn(0, 0, OvalTip.TipLbl.Width, OvalTip.TipLbl.Height, 50, 50), _
True
Else
OvalTip.Width = 0
Unload Me
ShowTip = True
End If
End Sub
Private Sub ShowTim_Timer()
If (OvalTip.Width < TipWidth) Then
OvalTip.Width = OvalTip.Width + 100
SetWindowRgn OvalTip.hwnd, _
CreateRoundRectRgn(0, 0, OvalTip.TipLbl.Width, OvalTip.TipLbl.Height, 50, 50), _
True
Else
OvalTip.Width = TipWidth
End If
End Sub
Private Sub TipTim_Timer()
ShowTim.Enabled = False
HideTim.Enabled = True
ShowTip = True
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -