snoopy Posted January 21, 2009 Author Share Posted January 21, 2009 (edited) ok.. i have the Window ive been working on.... So i am trieng to do, if i press The Credits, Than msgbox will apear with ok in it as the only option and text writen.. and do that if i press on Radio 1 , than it will do asertain click with mouse and Radio 2 , different mouse click but only after Start. #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form=C:\Users\Snoopy\Desktop\Form1.kxf $Form1 = GUICreate("Form1", 625, 444, 189, 146) $Credits = GUICtrlCreateButton("Credits", 0, 0, 153, 65, 0) GUICtrlSetFont(-1, 20, 400, 0, "MS Sans Serif") GUICtrlSetResizing(-1, $GUI_DOCKLEFT+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM+$GUI_DOCKHCENTER+$GUI_DOCKVCENTER+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) $Exit = GUICtrlCreateButton("Exit", 0, 72, 153, 65, 0) GUICtrlSetFont(-1, 20, 400, 0, "MS Sans Serif") GUICtrlSetBkColor(-1, 0xFFFFFF) GUICtrlSetResizing(-1, $GUI_DOCKLEFT+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM+$GUI_DOCKHCENTER+$GUI_DOCKVCENTER+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) $MyButton1 = GUICtrlCreateButton("Start", 520, 0, 100, 30, 0) GUICtrlSetFont(-1, 15, 800, 0, "MS Serif") GUICtrlSetBkColor(-1, 0xFFFFE1) $Radio1 = GUICtrlCreateRadio("Jump", 520, 32, 97, 33) GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif") $Radio2 = GUICtrlCreateRadio("Beg", 520, 64, 81, 33) GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif") $Radio3 = GUICtrlCreateRadio("Dance", 520, 96, 81, 41) GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif") $Radio4 = GUICtrlCreateRadio("Rollover", 520, 144, 89, 41) GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif") $Radio5 = GUICtrlCreateRadio("Speak", 520, 192, 81, 41) GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif") $Date1 = GUICtrlCreateDate("2009/01/21 18:17:11", 160, 0, 257, 25) $Slider1 = GUICtrlCreateSlider(160, 24, 262, 37) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Radio1 EndSwitch WEnd so what am i suppose to do next? Edited January 21, 2009 by snoopy Link to comment Share on other sites More sharing options...
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