picaxe Posted May 8, 2009 Posted May 8, 2009 GUICreate("Slideshow Options", 274, 196) GUICtrlCreateLabel("Loop Slideshow", 5, 13, 80, 25) Local $loop = GUICtrlCreateInput("1", 90, 10, 40, 19,0x2000) ;$ES_NUMBER GUICtrlSetFont ($loop, 8.5, 400, 0, "Courier") GUICtrlCreateUpdown($loop,0x01) ;$UDS_WRAP GUICtrlSetLimit (-1, 99, 1) GUICtrlCreateLabel("Time(s)", 139, 13, 100, 25) Local $Okay = GUICtrlCreateButton("Okay", 100, 156, 74, 25, 0x0300) ;$BS_CENTER GUISetState(@SW_SHOW) While 1 Local $msg = GUIGetMsg() If $msg = -3 Then Exit If $msg = $Okay Then Exit WEnd
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now