Ich wollte das der Button $KlickMich in der GUI $Form1 von oben nach unten und von rechts anch links läuft
mein code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$dda = 0
$Form1 = GUICreate("Form1", 436, 227, 192, 124)
GUISetBkColor(0xFFFFFF)
$KlickMich = GUICtrlCreateButton("KlickMich", 376, 0, 57, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
GUICtrlSetPos( $KlickMich, 376 ,1)
GUICtrlSetPos( $KlickMich, 376 ,2)
EndSwitch
WEnd