Declare globally:
[php]
Private IsTop As Boolean
[/php]
Timer or whatever's code:
[php]
If My.Computer.Keyboard.AltKeyDown Then
If IsTop Then
Me.TopMost = False
IsTop = False
Else
Me.TopMost = True
IsTop = True
End If
End If
[/php]
heres what i have if my.computer.keyboard altkeydown then
me.form1.topmost = true
now what if i want to click it agian and it makes topmost faulse
Declare globally:
[php]
Private IsTop As Boolean
[/php]
Timer or whatever's code:
[php]
If My.Computer.Keyboard.AltKeyDown Then
If IsTop Then
Me.TopMost = False
IsTop = False
Else
Me.TopMost = True
IsTop = True
End If
End If
[/php]
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)