?? form1.frm
字號:
VERSION 5.00
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "GRAY BUTTON SUBDUE"
ClientHeight = 5190
ClientLeft = 45
ClientTop = 330
ClientWidth = 6030
Icon = "Form1.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 5190
ScaleWidth = 6030
StartUpPosition = 2 'CenterScreen
Begin killbutton.isButton Command3
Height = 360
Left = 4590
TabIndex = 5
Top = 1155
Width = 1245
_ExtentX = 2196
_ExtentY = 635
Icon = "Form1.frx":030A
Style = 10
Caption = "EXIT(&E)"
IconAlign = 0
iNonThemeStyle = 0
Tooltiptitle = ""
ToolTipIcon = 0
ToolTipType = 1
ttForeColor = 0
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
MaskColor = 0
End
Begin killbutton.isButton Command2
Height = 360
Left = 4590
TabIndex = 4
Top = 735
Width = 1245
_ExtentX = 2196
_ExtentY = 635
Icon = "Form1.frx":0326
Style = 10
Caption = "STOP(&S)"
IconAlign = 0
iNonThemeStyle = 0
Tooltiptitle = ""
ToolTipIcon = 0
ToolTipType = 1
ttForeColor = 0
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
MaskColor = 0
End
Begin killbutton.isButton Command1
Height = 360
Left = 4590
TabIndex = 3
Top = 315
Width = 1245
_ExtentX = 2196
_ExtentY = 635
Icon = "Form1.frx":0342
Style = 10
Caption = "ACTIVE(&A)"
IconAlign = 0
iNonThemeStyle = 0
Tooltiptitle = ""
ToolTipIcon = 0
ToolTipType = 1
ttForeColor = 0
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
MaskColor = 0
End
Begin VB.CheckBox Check1
Appearance = 0 'Flat
Caption = "SET TO THE FOREFONT"
ForeColor = &H80000008&
Height = 435
Left = 4530
TabIndex = 2
Top = 4635
Value = 1 'Checked
Width = 1440
End
Begin VB.Frame Frame1
Appearance = 0 'Flat
Caption = "CONTROL LIST"
ForeColor = &H80000008&
Height = 5040
Left = 90
TabIndex = 0
Top = 75
Width = 4335
Begin VB.ListBox List1
Appearance = 0 'Flat
Height = 4710
Left = 135
TabIndex = 1
Top = 240
Width = 4095
End
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 2000
Left = 4590
Top = 4155
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim window, child As Long
Private Declare Function ShellExecute Lib "shell32.dll" Alias _
"ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As _
String, ByVal lpFile As String, ByVal lpParameters As String, _
ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Const str1 = "mndsoft.com "
Private Sub Check1_Click()
If Check1.Value = 1 Then
SetWindowPos Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, 1
Else
SetWindowPos Me.hwnd, 0, 0, 0, 0, 0, 1
End If
End Sub
Private Sub Check1_MouseMove(Button As Integer, Shift As Integer, x As Single, Y As Single)
If GetForegroundWindow = Me.hwnd Then Check1.SetFocus
End Sub
Private Sub Command1_Click()
Timer1.Enabled = True
Command1.Enabled = False
Command2.Enabled = True
End Sub
Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, x As Single, Y As Single)
If GetForegroundWindow = Me.hwnd Then Command1.SetFocus
End Sub
Private Sub Command2_Click()
Timer1.Enabled = False
Command1.Enabled = True
Command2.Enabled = False
End Sub
Private Sub Command2_MouseMove(Button As Integer, Shift As Integer, x As Single, Y As Single)
If GetForegroundWindow = Me.hwnd Then Command2.SetFocus
End Sub
Private Sub Command3_Click()
Timer1.Enabled = False
End
End Sub
Private Sub Command3_MouseMove(Button As Integer, Shift As Integer, x As Single, Y As Single)
If GetForegroundWindow = Me.hwnd Then Command3.SetFocus
End Sub
Private Sub Form_Load()
SetWindowPos Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, 1
End Sub
Private Sub Timer1_Timer()
Dim oldW As Long
Dim temp As String * 50
oldW = window
window = GetForegroundWindow
If oldW = window Then Exit Sub
If window = Me.hwnd Then Exit Sub
GetWindowText window, temp, 50
icount = 1
List1.Clear
window = EnumChildWindows(window, AddressOf WndEnumChildProc, List1)
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -