Hi,
wie bekomm ich denn einen Countdown in ne GUI? Aber der countdown soll aber durch zb ne func restartet werden... also er zählt von 10sec nach 0 und sobald man ne func aufruft fängt er neu an...
und nächste frage wie bekomm ich das hin das die gui IMMER im vordergrund ist.. also auch wenn ich ein anderes fenster aufrufe
danke schonmal
wie bekomm ich denn einen Countdown in ne GUI? Aber der countdown soll aber durch zb ne func restartet werden... also er zählt von 10sec nach 0 und sobald man ne func aufruft fängt er neu an...
PHP Code:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 526, 72, 199, 274)
$Label1 = GUICtrlCreateLabel("Skill1", 0, 8, 29, 17)
$Label2 = GUICtrlCreateLabel("Skill2", 70, 8, 29, 17)
$Label3 = GUICtrlCreateLabel("Skill3", 140, 8, 29, 17)
$Label4 = GUICtrlCreateLabel("Skill4", 210, 8, 29, 17)
$Label5 = GUICtrlCreateLabel("Skill5", 280, 8, 29, 17)
$Label6 = GUICtrlCreateLabel("Skill6", 350, 8, 29, 17)
$Label7 = GUICtrlCreateLabel("Skill7", 420, 8, 29, 17)
$Label8 = GUICtrlCreateLabel("Skill8", 490, 8, 29, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
danke schonmal