⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ovaltip.frm

📁 《管状换热器计算机辅助设计系统ExhCAD绘图系统(版本:1.01a Final)》为自由软件
💻 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 + -