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

📄 trackmouse.ctl

📁 防红帽子的shell 我是从别处下的,喜欢的朋友自已
💻 CTL
字号:
VERSION 5.00
Begin VB.UserControl TrackMouse 
   BackColor       =   &H00C0E0FF&
   ClientHeight    =   3600
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   4800
   InvisibleAtRuntime=   -1  'True
   ScaleHeight     =   3600
   ScaleWidth      =   4800
   Begin VB.Image Image1 
      Height          =   420
      Left            =   75
      Picture         =   "TrackMouse.ctx":0000
      Top             =   90
      Width           =   420
   End
End
Attribute VB_Name = "TrackMouse"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'****************************************************************************
'人人为我,我为人人
'枕善居汉化收藏整理
'发布日期:2006/11/10
'描    述:仿红帽子操作系统Shell
'网    站:http://www.Mndsoft.com/  (VB6源码博客)
'网    站:http://www.VbDnet.com/   (VB.NET源码博客,主要基于.NET2005)
'e-mail  :Mndsoft@163.com
'e-mail  :Mndsoft@126.com
'OICQ    :88382850
'          如果您有新的好的代码别忘记给枕善居哦!
'****************************************************************************
Private WithEvents tmLink As CTrackMouse
Attribute tmLink.VB_VarHelpID = -1
Public Event MouseOver()
Public Event MouseOut()
Public Event MouseLeftDown()
Public Event MouseLeftUp()

Public CurrentState As Integer
'7 = Watching
'8 = Closed

Private Sub tmLink_MouseOut()
    RaiseEvent MouseOut
End Sub

Private Sub tmLink_MouseOver()
    RaiseEvent MouseOver
End Sub

Private Sub tmLink_MouseLeftDown()
    RaiseEvent MouseLeftDown
End Sub

Private Sub tmLink_MouseLeftUp()
    RaiseEvent MouseLeftUp
End Sub

Public Function Watch(obj As Object)
Set tmLink = New CTrackMouse
Set tmLink.TrackObject = obj
CurrentState = 7
End Function

Public Function CloseWatch()
If CurrentState = 7 Then
Set tmLink.TrackObject = Nothing
CurrentState = 8
End If
End Function

Private Sub UserControl_Resize()
Image1.Top = 0
Image1.Left = 0
UserControl.Height = Image1.Height
UserControl.Width = Image1.Width
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -