📄 xpbutton.ctl
字号:
VERSION 5.00
Object = "{27395F88-0C0C-101B-A3C9-08002B2F49FB}#1.1#0"; "PICCLP32.OCX"
Begin VB.UserControl Command
Alignable = -1 'True
Appearance = 0 'Flat
AutoRedraw = -1 'True
BackColor = &H80000005&
ClientHeight = 5250
ClientLeft = 0
ClientTop = 0
ClientWidth = 2850
ControlContainer= -1 'True
DefaultCancel = -1 'True
FillStyle = 0 'Solid
KeyPreview = -1 'True
ScaleHeight = 350
ScaleMode = 3 'Pixel
ScaleWidth = 190
ToolboxBitmap = "XpButton.ctx":0000
Begin VB.PictureBox imgButton
Appearance = 0 'Flat
AutoRedraw = -1 'True
AutoSize = -1 'True
BackColor = &H80000005&
BorderStyle = 0 'None
CausesValidation= 0 'False
ForeColor = &H80000008&
Height = 255
Left = 2040
ScaleHeight = 17
ScaleMode = 3 'Pixel
ScaleWidth = 17
TabIndex = 1
Top = 0
Visible = 0 'False
Width = 255
End
Begin PicClip.PictureClip pcChoice
Index = 20
Left = 1440
Top = 3120
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":0312
End
Begin PicClip.PictureClip pcChoice
Index = 1
Left = 0
Top = 960
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":19B4
End
Begin PicClip.PictureClip pcChoice
Index = 2
Left = 0
Top = 1320
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":3056
End
Begin PicClip.PictureClip pcChoice
Index = 17
Left = 1440
Top = 2040
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":46F8
End
Begin PicClip.PictureClip pcChoice
Index = 8
Left = 0
Top = 3480
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":5D9A
End
Begin PicClip.PictureClip pcChoice
Index = 25
Left = 1440
Top = 4920
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":743C
End
Begin PicClip.PictureClip pcChoice
Index = 22
Left = 1440
Top = 3840
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":8ADE
End
Begin PicClip.PictureClip pcChoice
Index = 11
Left = 0
Top = 4560
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":A180
End
Begin PicClip.PictureClip pcChoice
Index = 10
Left = 0
Top = 4200
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":B822
End
Begin PicClip.PictureClip pcChoice
Index = 14
Left = 1440
Top = 960
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":CEC4
End
Begin PicClip.PictureClip pcChoice
Index = 21
Left = 1440
Top = 3480
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":E566
End
Begin PicClip.PictureClip pcChoice
Index = 23
Left = 1440
Top = 4200
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":FC08
End
Begin PicClip.PictureClip pcChoice
Index = 9
Left = 0
Top = 3840
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":112AA
End
Begin PicClip.PictureClip pcChoice
Index = 13
Left = 1440
Top = 600
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":1294C
End
Begin PicClip.PictureClip pcChoice
Index = 5
Left = 0
Top = 2400
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":13FEE
End
Begin PicClip.PictureClip pcChoice
Index = 19
Left = 1440
Top = 2760
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":15690
End
Begin PicClip.PictureClip pcChoice
Index = 12
Left = 0
Top = 4920
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":16D32
End
Begin PicClip.PictureClip pcChoice
Index = 7
Left = 0
Top = 3120
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":183D4
End
Begin PicClip.PictureClip pcChoice
Index = 4
Left = 0
Top = 2040
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":19A76
End
Begin PicClip.PictureClip pcChoice
Index = 15
Left = 1440
Top = 1320
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":1B118
End
Begin PicClip.PictureClip pc
Left = 0
Top = 240
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":1C7BA
End
Begin PicClip.PictureClip pcChoice
Index = 18
Left = 1440
Top = 2400
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":1D398
End
Begin PicClip.PictureClip pcChoice
Index = 16
Left = 1440
Top = 1680
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":1DF76
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 50
Left = 2400
Top = 0
End
Begin PicClip.PictureClip pcChoice
Index = 3
Left = 0
Top = 1680
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":1F618
End
Begin PicClip.PictureClip pcChoice
Index = 6
Left = 0
Top = 2760
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":20CBA
End
Begin PicClip.PictureClip pcChoice
Index = 24
Left = 1440
Top = 4560
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":2235C
End
Begin PicClip.PictureClip pcChoice
Index = 0
Left = 0
Top = 600
_ExtentX = 2381
_ExtentY = 556
_Version = 393216
Cols = 5
Picture = "XpButton.ctx":239FE
End
Begin VB.Label lbl
Alignment = 2 'Center
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "Xp button"
ForeColor = &H80000008&
Height = 195
Left = 0
TabIndex = 0
Top = 0
Width = 705
End
End
Attribute VB_Name = "Command"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Option Explicit
Private Declare Function GetCursorPos Lib "User32" (lpPoint As POINT_API) As Long 'Aki
Private Declare Function ScreenToClient Lib "User32" (ByVal hwnd As Long, lpPoint As POINT_API) As Long
Private Declare Function DrawFocusRect Lib "User32" (ByVal hdc As Long, lpRect As GIVEFOCUS) As Long
'* * * * * * * * * * * * * * * * * * * * * * * * * * * *
' * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
'* * This code is originaly writen by Aleks Kimhi - Aki. * * * *
' * As you might have read that this ActiveX control is free, * * O *
'* * and therefore can be distributed for free as long as you * *
' * do not sell it for profit and there's still my name on it. * ____| *
'* * I've spend some time on this project so please * * *
' * don't just take it, use it and say you wrote it. * * * *
'* * Thank you for your co-operation. Any comments, * * * * P *
' * good or bad, would be greatly appreciated. * *
'* * E -mail: aniram@ zahav.net.il * * *
' * Tel-Aviv, Israel A & M
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -