Private Declare Function GetWindow Lib "user32.dll" (ByVal a As Long, ByVal b As Long) As Long
Private Declare Function SetParent Lib "user32.dll" (ByVal a As Long, ByVal b As Long) As Long
Private Declare Function FindWindowA Lib "user32.dll" (ByVal a As String, ByVal b As Long) As Long
Private Declare Function SetLayeredWindowAttributes Lib "user32.dll" (ByVal hwnd As Long, ByVal tm As Long, ByVal c As Long, ByVal d As Long) As Long
Private Declare Function SetWindowLongA Lib "user32.dll" (ByVal hwnd As Long, ByVal item As Long, ByVal z As Long) As Long
Private Declare Function GetWindowLongA Lib "user32.dll" (ByVal hwnd As Long, ByVal sx As Long) As Long
Private Sub Form_Load()
Label1.Caption = "本程序是121038做的,潜入桌面程序,做人就要有个目标,比如我的目标就是要为您服务,支持的就顶"
Move 0, 0
Dim bl As Long
bl = GetWindowLongA(hwnd, -20)
bl = bl Or 32 Or 800000
SetWindowLongA hwnd, -20, bl
SetLayeredWindowAttributes hwnd, 0, 120, 2
bl = FindWindowA("ProgMan", 0)
bl = GetWindow(bl, 5)
SetParent hwnd, bl
End Sub
Private Sub Timer1_Timer()
Label1.Move Label1.Left - 100
If Label1.Left < -Label1.Width Then
Label1.Left = Width
End If
End Sub
https://bbs.bccn.net/viewthread.php?tid=123570&highlight=%D7%C0%C3%E6
找到了一个,学习一下,再回来