Wenn du nur die Maus sperren willst dann mach es doch so
PHP Code:
#include <GuiConstantsEx.au3>
#include <Misc.au3>
Opt("MustDeclareVars", 1)
hotkeyset ("e","ende")
_Main()
Func _Main()
Local $GUI, $coords[4]
$GUI = GUICreate(" ",1, 1,@DesktopHeight,@DesktopWidth)
GUISetState()
While 1
$coords = WinGetPos($GUI)
_MouseTrap(100,100,100,100)
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
ExitLoop
Case Else
;;;
EndSwitch
WEnd
_MouseTrap()
Exit
EndFunc ;==>_Main
func ende()
Exit
endfunc
ich hab es von der hilfe datei gezogen.
MfG SCORNI