virus7799
01-11-2008, 08:57 PM
Im trying to set my Hack Window so it's always on top.
Private Declare Function SetWindowPos& Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long)
Private Sub check1_click()
If Check1.Value = 1 Then rtn = SetWindowPos&(Form1.hwnd, -1, 0, 0, 0, 0, 3) Else rtn = SetWindowPos&(Form1.hwnd, -2, 0, 0, 0, 0, 3)
End Sub
Do I put this code in my Module?:confused::confused:
Private Declare Function SetWindowPos& Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long)
Private Sub check1_click()
If Check1.Value = 1 Then rtn = SetWindowPos&(Form1.hwnd, -1, 0, 0, 0, 0, 3) Else rtn = SetWindowPos&(Form1.hwnd, -2, 0, 0, 0, 0, 3)
End Sub
Do I put this code in my Module?:confused::confused: