nitekram Posted December 30, 2010 Share Posted December 30, 2010 Script below should explain question - want to know why one would have to use minus numbers to move the child up the parent gui. I am really just making sure that this is by design. expandcollapse popup#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> ;Opt('MustDeclareVars', 1) Example1() Example2() ; example 1 Func Example1() Local $msg $AdminGUI = GUICreate('', 810, 720, -1, -1, BitOR($WS_POPUP, $GUI_SS_DEFAULT_GUI, $WS_CLIPCHILDREN, $WS_SIZEBOX)) GUISetState(@SW_SHOW) ; will display an empty dialog box $TeamInfoGUI = GUICreate('', 625, 405, 85, 0, $WS_CAPTION, $WS_EX_MDICHILD, $AdminGUI) GUISetState(@SW_SHOW, $TeamInfoGUI) ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd GUIDelete() EndFunc ;==>Example1 ; example 2 Func Example2() Local $msg $AdminGUI = GUICreate('', 810, 720, -1, -1, BitOR($WS_POPUP, $GUI_SS_DEFAULT_GUI, $WS_CLIPCHILDREN, $WS_SIZEBOX)) GUISetState(@SW_SHOW) ; will display an empty dialog box $TeamInfoGUI = GUICreate('', 625, 405, 85, -40, $WS_CAPTION, $WS_EX_MDICHILD, $AdminGUI) GUISetState(@SW_SHOW, $TeamInfoGUI) ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd GUIDelete() EndFunc ;==>Example2 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 30, 2010 Moderators Share Posted December 30, 2010 nitekram,$WS_EX_MDICHILD does not really create child GUIs (as the Help file points out). If you want "real" children that go exactly where you tell them, then you need to use the API like this: expandcollapse popup#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <WinAPI.au3> ;Opt('MustDeclareVars', 1) Example1() Example2() ; example 1 Func Example1() Local $msg $AdminGUI = GUICreate('', 810, 720, 100, 100, BitOR($WS_POPUP, $GUI_SS_DEFAULT_GUI, $WS_CLIPCHILDREN, $WS_SIZEBOX)) GUICtrlCreateLabel("", 0, 0, 0, 0) GUISetState(@SW_SHOW) ; will display an empty dialog box $TeamInfoGUI = GUICreate('', 100, 100, 85, 0, $WS_CAPTION) _WinAPI_SetParent($TeamInfoGUI, $AdminGUI) ; Make a real child <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< GUISetState(@SW_SHOW, $TeamInfoGUI) ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd GUIDelete() EndFunc ;==>Example1 ; example 2 Func Example2() Local $msg $AdminGUI = GUICreate('', 810, 720, -1, -1, BitOR($WS_POPUP, $GUI_SS_DEFAULT_GUI, $WS_CLIPCHILDREN, $WS_SIZEBOX)) GUISetState(@SW_SHOW) ; will display an empty dialog box $TeamInfoGUI = GUICreate('', 625, 405, 85, -40, $WS_CAPTION, $WS_EX_MDICHILD, $AdminGUI) GUISetState(@SW_SHOW, $TeamInfoGUI) ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd GUIDelete() EndFunc ;==>Example2Although having a couple of "real" children myself, I have not really noticed that they always go where I tell them! M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
nitekram Posted December 30, 2010 Author Share Posted December 30, 2010 (edited) I tried as suggested - but I am getting bleeding from parent window, and when I move the child the bleed follows. I have tried to duplicate this with an example, and I have not been able to see the bleed but once with the my example. So to try and explain it a little. I have an input box on the parent and part of the box bleeds into the child. The code is over 10000 lines and therefore I am not going to post it, but has anyone else come across this issue? Please see attached jpg to see the bleed about a third of the way down on the left hand side. EDIT - after i posted went back to the gui and found this - look at bleed2.jpg Edited December 30, 2010 by nitekram 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 30, 2010 Moderators Share Posted December 30, 2010 nitekram,Have you tried adding (with BitOR) the $WS_CLIPCHILDREN style to the parent? From the Help file:"Excludes the area occupied by child windows when drawing occurs within the parent window"which sounds like it might stop the "bleed" across the GUI boundary. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
nitekram Posted December 30, 2010 Author Share Posted December 30, 2010 Here is my line for creating the main gui - I think that is right, as I used your posted example for the creation method. $mainGUI = GUICreate('HANDiPOOL', 810, 720, -1, -1, BitOR($WS_POPUP, $GUI_SS_DEFAULT_GUI, $WS_CLIPCHILDREN, $WS_SIZEBOX)) 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 30, 2010 Moderators Share Posted December 30, 2010 nitekram, I take it that the suggestion did not work then? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
nitekram Posted December 30, 2010 Author Share Posted December 30, 2010 Yea, it did not work. Any other suggestions. I wish I could post and example. Have been trying to put one together, but no luck with it bleeding on the example. 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 30, 2010 Moderators Share Posted December 30, 2010 nitekram,Like I said, "real" children never behave as you want them to! I am afraid I have not come across anything like this before so these are real WAGs. Is the edge of the input very close to the GUI boundary? And is it the only one to be located like that? M23P.S. If you did not know: WAG = Wild Ass Guess Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
nitekram Posted December 30, 2010 Author Share Posted December 30, 2010 (edited) I was able to duplicate the issue: I was just showing the CHILDGUI as in the examples, but have found that if the child is hidden and the retrieved via menu option Admin (then it shows) - sorry about the sloppy code and the extra lines. expandcollapse popup#include <WindowsConstants.au3> #include <GUIConstantsEx.au3> #include <GuiConstants.au3> #include <Array.au3> #include <EditConstants.au3> #include <ListboxConstants.au3> #include <GUIListBox.au3> #include <DateTimeConstants.au3> #include <Excel.au3> #include <GuiComboBox.au3> #include <ComboConstants.au3> #include <EditConstants.au3> #include <StaticConstants.au3> #include <Misc.au3> #include <GuiMenu.au3> #include <GuiEdit.au3> #include <Constants.au3> #include <WinAPI.au3> #include <String.au3> #include <WinAPI.au3> Global $TempColor1, $TempColor2, $TempColor3, $TempColor4, $TempColor5, $white, $beigh $mainGUI = GUICreate('HANDiPOOL', 810, 720, -1, -1, BitOR($WS_POPUP, $GUI_SS_DEFAULT_GUI, $WS_CLIPCHILDREN, $WS_SIZEBOX)) ;, -1, -1, $WS_THICKFRAME, -1) ;, -1, -1, -1, 0x02000000) ; Great Main GUI GUISetBkColor(0xffffff) If FileExists('pool_rack_balls.jpg') Then $redraw = GUICtrlCreatePic('pool_rack_balls.jpg', 55, 0, 100, 100) Else $redraw = GUICtrlCreateButton('redraw', 55, 0, 100, 100) EndIf If FileExists('pool_rack_balls.jpg') Then $showINI = GUICtrlCreatePic('pool_rack_balls.jpg', 650, 0, 100, 100) Else $showINI = GUICtrlCreateButton('ini file', 650, 0, 100, 100) EndIf If FileExists('eight_ball.jpg') Then $SaveButtonMain = GUICtrlCreatePic('eight_ball.jpg', 350, 593, 100, 100) Else $SaveButtonMain = GUICtrlCreateButton('SAVE', 350, 593, 100, 100) EndIf $aStyle = GUIGetStyle() GUISetStyle(BitOR($aStyle[0], $WS_CLIPCHILDREN)) $font = "Comic Sans MS" GUISetFont(20, 4, 4, $font) GUICtrlCreateLabel('BCA Scoresheet', 310, 0, 200, 50, 0x0001) ;0x07 GUISetFont(20, 0, 0) ;GUICtrlCreateLabel($LeageName, 210, 40, 375, 35, 0x0001) GUISetFont(8, 0, 0) $hDate = GUICtrlCreateDate('', 300, 75, 200, 20) ;, 0x0001) ;MsgBox('',GUICtrlRead($hDate),'$hDate') GUISetFont(14, 0, 0) $TeamInputHomeHeader = GUICtrlCreateInput('Home', 0, 100, 60, 35, BitOR($ES_CENTER, $ES_READONLY)) ; width was 225 - changed to 70 for home name next to combo, but looks like shit GUICtrlSetBkColor(-1, 0xffffff) ;GUICtrlSetState(-1, $GUI_DISABLE) ;GUISetFont(8.5, 0, 0) $TeamHomeName = GUICtrlCreateInput('', 60, 100, 165, 35, BitOR($ES_CENTER, $ES_READONLY, $ES_UPPERCASE)) GUICtrlSetBkColor(-1, 0xffffff) ;GUICtrlSetState(-1, $GUI_DISABLE) GUISetFont(16, 0, 0) GUICtrlCreateInput('Rounds', 225, 100, 180, 35, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, 0xffffff) GUISetFont(14, 0, 0) $TeamAwayHeader = GUICtrlCreateInput('Away', 405, 100, 60, 35, BitOR($ES_CENTER, $ES_READONLY)) ; width was 225 - changed to 70 for home name next to combo, but looks like shit GUICtrlSetBkColor(-1, 0xffffff) ;GUICtrlSetState(-1, $GUI_DISABLE) ;GUISetFont(8.5, 0, 0) $TeamAwayName = GUICtrlCreateInput('', 465, 100, 165, 35, BitOR($ES_CENTER, $ES_READONLY, $ES_UPPERCASE)) GUICtrlSetBkColor(-1, 0xffffff) ;GUICtrlSetState(-1, $GUI_DISABLE) GUISetFont(16, 0, 0) GUICtrlCreateInput('Rounds', 630, 100, 180, 35, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, 0xffffff) ;GUICtrlSetState(-1, $GUI_DISABLE) GUISetFont(8.5, 0, 0) GUICtrlCreateInput('ID#', 0, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('Hcp', 30, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('Player"s Name', 60, 135, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUISetFont(8.5, 0, 0) GUICtrlCreateInput('1', 225, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('2', 255, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('3', 285, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('4', 315, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('5', 345, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('Tot', 375, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUISetFont(8.5, 0, 0) GUICtrlCreateInput('ID#', 405, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('Hcp', 435, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('Player"s Name', 465, 135, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUISetFont(8.5, 0, 0) GUICtrlCreateInput('1', 630, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('2', 660, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('3', 690, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('4', 720, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('5', 750, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('Tot', 780, 135, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('', 0, 465, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateInput('', 0, 495, 60, 90) GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlSetBkColor(-1, $beigh) GUICtrlCreateInput('', 405, 495, 60, 90) GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlSetBkColor(-1, $beigh) GUICtrlCreateInput('', 405, 465, 30, 30) GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlSetBkColor(-1, $beigh) GUISetFont(9, 800, 0, $font) ; Home Player 1 $IDhomeP1 = GUICtrlCreateInput('', 0, 165, 30, 30, $ES_NUMBER) ; Player ID GUICtrlSetBkColor(-1, $white) ;GUICtrlSetBkColor(-1, $Color1) ;GUICtrlSetState(-1, $GUI_FOCUS) $hcpHomeP1 = GUICtrlCreateInput('', 30, 165, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) ; Player HCP GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $homeP1 = GUICtrlCreateInput('', 60, 165, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) ; Player Name GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 1 $GameHome1P1 = GUICtrlCreateEdit('', 225, 165, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameHome2P1 = GUICtrlCreateEdit('', 255, 165, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameHome3P1 = GUICtrlCreateEdit('', 285, 165, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameHome4P1 = GUICtrlCreateEdit('', 315, 165, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameHome5P1 = GUICtrlCreateEdit('', 345, 165, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameHomeTP1 = GUICtrlCreateInput('', 375, 165, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Away Player 1 $IDAwayP1 = GUICtrlCreateInput('', 405, 165, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) $hcpAwayP1 = GUICtrlCreateInput('', 435, 165, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $AwayP1 = GUICtrlCreateInput('', 465, 165, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 1 $GameAway1P1 = GUICtrlCreateInput('', 630, 165, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameAway2P1 = GUICtrlCreateInput('', 660, 165, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameAway3P1 = GUICtrlCreateInput('', 690, 165, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameAway4P1 = GUICtrlCreateInput('', 720, 165, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameAway5P1 = GUICtrlCreateInput('', 750, 165, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameAwayTP1 = GUICtrlCreateInput('', 780, 165, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Home Player 2 $IDhomeP2 = GUICtrlCreateInput('', 0, 225, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) ;GUICtrlSetBkColor(-1, $Color2) $hcpHomeP2 = GUICtrlCreateInput('', 30, 225, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $homeP2 = GUICtrlCreateInput('', 60, 225, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ;2 $GameHome1P2 = GUICtrlCreateInput('', 225, 225, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameHome2P2 = GUICtrlCreateInput('', 255, 225, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameHome3P2 = GUICtrlCreateInput('', 285, 225, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameHome4P2 = GUICtrlCreateInput('', 315, 225, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameHome5P2 = GUICtrlCreateInput('', 345, 225, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameHomeTP2 = GUICtrlCreateInput('', 375, 225, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Away Player 2 $IDAwayP2 = GUICtrlCreateInput('', 405, 225, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) $hcpAwayP2 = GUICtrlCreateInput('', 435, 225, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $AwayP2 = GUICtrlCreateInput('', 465, 225, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ;GAME 2 $GameAway1P2 = GUICtrlCreateInput('', 630, 225, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameAway2P2 = GUICtrlCreateInput('', 660, 225, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameAway3P2 = GUICtrlCreateInput('', 690, 225, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameAway4P2 = GUICtrlCreateInput('', 720, 225, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameAway5P2 = GUICtrlCreateInput('', 750, 225, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameAwayTP2 = GUICtrlCreateInput('', 780, 225, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Home Player 3 $IDhomeP3 = GUICtrlCreateInput('', 0, 285, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) ;GUICtrlSetBkColor(-1, $Color3) $hcpHomeP3 = GUICtrlCreateInput('', 30, 285, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $homeP3 = GUICtrlCreateInput('', 60, 285, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 3 $GameHome1P3 = GUICtrlCreateInput('', 225, 285, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameHome2P3 = GUICtrlCreateInput('', 255, 285, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameHome3P3 = GUICtrlCreateInput('', 285, 285, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameHome4P3 = GUICtrlCreateInput('', 315, 285, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameHome5P3 = GUICtrlCreateInput('', 345, 285, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameHomeTP3 = GUICtrlCreateInput('', 375, 285, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Away Player 3 $IDAwayP3 = GUICtrlCreateInput('', 405, 285, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) $hcpAwayP3 = GUICtrlCreateInput('', 435, 285, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $AwayP3 = GUICtrlCreateInput('', 465, 285, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 3 $GameAway1P3 = GUICtrlCreateInput('', 630, 285, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameAway2P3 = GUICtrlCreateInput('', 660, 285, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameAway3P3 = GUICtrlCreateInput('', 690, 285, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameAway4P3 = GUICtrlCreateInput('', 720, 285, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameAway5P3 = GUICtrlCreateInput('', 750, 285, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameAwayTP3 = GUICtrlCreateInput('', 780, 285, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Home Player 4 $IDhomeP4 = GUICtrlCreateInput('', 0, 345, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) $hcpHomeP4 = GUICtrlCreateInput('', 30, 345, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $homeP4 = GUICtrlCreateInput('', 60, 345, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 4 $GameHome1P4 = GUICtrlCreateInput('', 225, 345, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameHome2P4 = GUICtrlCreateInput('', 255, 345, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameHome3P4 = GUICtrlCreateInput('', 285, 345, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameHome4P4 = GUICtrlCreateInput('', 315, 345, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameHome5P4 = GUICtrlCreateInput('', 345, 345, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameHomeTP4 = GUICtrlCreateInput('', 375, 345, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Away Player 4 $IDAwayP4 = GUICtrlCreateInput('', 405, 345, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) $hcpAwayP4 = GUICtrlCreateInput('', 435, 345, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $AwayP4 = GUICtrlCreateInput('', 465, 345, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 4 $GameAway1P4 = GUICtrlCreateInput('', 630, 345, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameAway2P4 = GUICtrlCreateInput('', 660, 345, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameAway3P4 = GUICtrlCreateInput('', 690, 345, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameAway4P4 = GUICtrlCreateInput('', 720, 345, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameAway5P4 = GUICtrlCreateInput('', 750, 345, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameAwayTP4 = GUICtrlCreateInput('', 780, 345, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Home Player 5 $IDhomeP5 = GUICtrlCreateInput('', 0, 405, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) $hcpHomeP5 = GUICtrlCreateInput('', 30, 405, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $homeP5 = GUICtrlCreateInput('', 60, 405, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 5 $GameHome1P5 = GUICtrlCreateInput('', 225, 405, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameHome2P5 = GUICtrlCreateInput('', 255, 405, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameHome3P5 = GUICtrlCreateInput('', 285, 405, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameHome4P5 = GUICtrlCreateInput('', 315, 405, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameHome5P5 = GUICtrlCreateInput('', 345, 405, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameHomeTP5 = GUICtrlCreateInput('', 375, 405, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Away Player 5 $IDAwayP5 = GUICtrlCreateInput('', 405, 405, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) $hcpAwayP5 = GUICtrlCreateInput('', 435, 405, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $AwayP5 = GUICtrlCreateInput('', 465, 405, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 5 $GameAway1P5 = GUICtrlCreateInput('', 630, 405, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameAway2P5 = GUICtrlCreateInput('', 660, 405, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameAway3P5 = GUICtrlCreateInput('', 690, 405, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameAway4P5 = GUICtrlCreateInput('', 720, 405, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameAway5P5 = GUICtrlCreateInput('', 750, 405, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameAwayTP5 = GUICtrlCreateInput('', 780, 405, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; SUBS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Home Player 1 SUB $IDhomeS1 = GUICtrlCreateInput('', 0, 195, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) ;GUICtrlSetBkColor(-1, $Color1) $hcpHomeS1 = GUICtrlCreateInput('', 30, 195, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $homeS1 = GUICtrlCreateInput('', 60, 195, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 1 $GameHome1S1 = GUICtrlCreateInput('', 225, 195, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameHome2S1 = GUICtrlCreateInput('', 255, 195, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameHome3S1 = GUICtrlCreateInput('', 285, 195, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameHome4S1 = GUICtrlCreateInput('', 315, 195, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameHome5S1 = GUICtrlCreateInput('', 345, 195, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameHomeTS1 = GUICtrlCreateInput('', 375, 195, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Away Player 1 SUB $IDAwayS1 = GUICtrlCreateInput('', 405, 195, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) $hcpAwayS1 = GUICtrlCreateInput('', 435, 195, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $AwayS1 = GUICtrlCreateInput('', 465, 195, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 1 $GameAway1S1 = GUICtrlCreateInput('', 630, 195, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameAway2S1 = GUICtrlCreateInput('', 660, 195, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameAway3S1 = GUICtrlCreateInput('', 690, 195, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameAway4S1 = GUICtrlCreateInput('', 720, 195, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameAway5S1 = GUICtrlCreateInput('', 750, 195, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameAwayTS1 = GUICtrlCreateInput('', 780, 195, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Home Player 2 SUB $IDhomeS2 = GUICtrlCreateInput('', 0, 255, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) ;GUICtrlSetBkColor(-1, $Color2) $hcpHomeS2 = GUICtrlCreateInput('', 30, 255, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $homeS2 = GUICtrlCreateInput('', 60, 255, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 2 $GameHome1S2 = GUICtrlCreateInput('', 225, 255, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameHome2S2 = GUICtrlCreateInput('', 255, 255, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameHome3S2 = GUICtrlCreateInput('', 285, 255, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameHome4S2 = GUICtrlCreateInput('', 315, 255, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameHome5S2 = GUICtrlCreateInput('', 345, 255, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameHomeTS2 = GUICtrlCreateInput('', 375, 255, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Away Player 2 SUB $IDAwayS2 = GUICtrlCreateInput('', 405, 255, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) $hcpAwayS2 = GUICtrlCreateInput('', 435, 255, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $AwayS2 = GUICtrlCreateInput('', 465, 255, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 2 $GameAway1S2 = GUICtrlCreateInput('', 630, 255, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameAway2S2 = GUICtrlCreateInput('', 660, 255, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameAway3S2 = GUICtrlCreateInput('', 690, 255, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameAway4S2 = GUICtrlCreateInput('', 720, 255, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameAway5S2 = GUICtrlCreateInput('', 750, 255, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameAwayTS2 = GUICtrlCreateInput('', 780, 255, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Home Player 3 SUB $IDhomeS3 = GUICtrlCreateInput('', 0, 315, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) ;GUICtrlSetBkColor(-1, $Color3) $hcpHomeS3 = GUICtrlCreateInput('', 30, 315, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $homeS3 = GUICtrlCreateInput('', 60, 315, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 3 $GameHome1S3 = GUICtrlCreateInput('', 225, 315, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameHome2S3 = GUICtrlCreateInput('', 255, 315, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameHome3S3 = GUICtrlCreateInput('', 285, 315, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameHome4S3 = GUICtrlCreateInput('', 315, 315, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameHome5S3 = GUICtrlCreateInput('', 345, 315, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameHomeTS3 = GUICtrlCreateInput('', 375, 315, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Away Player 3 SUB $IDAwayS3 = GUICtrlCreateInput('', 405, 315, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) $hcpAwayS3 = GUICtrlCreateInput('', 435, 315, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $AwayS3 = GUICtrlCreateInput('', 465, 315, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 3 $GameAway1S3 = GUICtrlCreateInput('', 630, 315, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameAway2S3 = GUICtrlCreateInput('', 660, 315, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameAway3S3 = GUICtrlCreateInput('', 690, 315, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameAway4S3 = GUICtrlCreateInput('', 720, 315, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameAway5S3 = GUICtrlCreateInput('', 750, 315, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameAwayTS3 = GUICtrlCreateInput('', 780, 315, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Home Player 4 SUB $IDhomeS4 = GUICtrlCreateInput('', 0, 375, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) $hcpHomeS4 = GUICtrlCreateInput('', 30, 375, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $homeS4 = GUICtrlCreateInput('', 60, 375, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 4 $GameHome1S4 = GUICtrlCreateInput('', 225, 375, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameHome2S4 = GUICtrlCreateInput('', 255, 375, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameHome3S4 = GUICtrlCreateInput('', 285, 375, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameHome4S4 = GUICtrlCreateInput('', 315, 375, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameHome5S4 = GUICtrlCreateInput('', 345, 375, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameHomeTS4 = GUICtrlCreateInput('', 375, 375, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Away Player 4 SUB $IDAwayS4 = GUICtrlCreateInput('', 405, 375, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) $hcpAwayS4 = GUICtrlCreateInput('', 435, 375, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $AwayS4 = GUICtrlCreateInput('', 465, 375, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 4 $GameAway1S4 = GUICtrlCreateInput('', 630, 375, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameAway2S4 = GUICtrlCreateInput('', 660, 375, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameAway3S4 = GUICtrlCreateInput('', 690, 375, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameAway4S4 = GUICtrlCreateInput('', 720, 375, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameAway5S4 = GUICtrlCreateInput('', 750, 375, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameAwayTS4 = GUICtrlCreateInput('', 780, 375, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; home Player 5 SUB $IDhomeS5 = GUICtrlCreateInput('', 0, 435, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) $hcpHomeS5 = GUICtrlCreateInput('', 30, 435, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $homes5 = GUICtrlCreateInput('', 60, 435, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 5 $GameHome1S5 = GUICtrlCreateInput('', 225, 435, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameHome2S5 = GUICtrlCreateInput('', 255, 435, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameHome3S5 = GUICtrlCreateInput('', 285, 435, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameHome4S5 = GUICtrlCreateInput('', 315, 435, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameHome5S5 = GUICtrlCreateInput('', 345, 435, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameHomeTS5 = GUICtrlCreateInput('', 375, 435, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ; Away Player 5 SUB $IDAwayS5 = GUICtrlCreateInput('', 405, 435, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $white) $hcpAwayS5 = GUICtrlCreateInput('', 435, 435, 30, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $Aways5 = GUICtrlCreateInput('', 465, 435, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) ; 5 $GameAway1S5 = GUICtrlCreateInput('', 630, 435, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor5) $GameAway2S5 = GUICtrlCreateInput('', 660, 435, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor4) $GameAway3S5 = GUICtrlCreateInput('', 690, 435, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor3) $GameAway4S5 = GUICtrlCreateInput('', 720, 435, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor2) $GameAway5S5 = GUICtrlCreateInput('', 750, 435, 30, 30, BitOR($ES_CENTER, $ES_NUMBER)) GUICtrlSetBkColor(-1, $TempColor1) $GameAwayTS5 = GUICtrlCreateInput('', 780, 435, 30, 30, $ES_NUMBER) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Home5 $hcphomeTotal = GUICtrlCreateInput('', 30, 465, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $Pointshome = GUICtrlCreateInput('Points', 60, 465, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $PointshomeTotalR1 = GUICtrlCreateInput('', 225, 465, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $PointshomeTotalR2 = GUICtrlCreateInput('', 255, 465, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $PointshomeTotalR3 = GUICtrlCreateInput('', 285, 465, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $PointshomeTotalR4 = GUICtrlCreateInput('', 315, 465, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $PointshomeTotalR5 = GUICtrlCreateInput('', 345, 465, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $PointshomeTotalRT = GUICtrlCreateInput('', 375, 465, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $HCPhome = GUICtrlCreateInput('HandiCap', 60, 495, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $HCPHomeTotalR1 = GUICtrlCreateInput('', 225, 495, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $HCPHomeTotalR2 = GUICtrlCreateInput('', 255, 495, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $HCPHomeTotalR3 = GUICtrlCreateInput('', 285, 495, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $HCPHomeTotalR4 = GUICtrlCreateInput('', 315, 495, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $HCPHomeTotalR5 = GUICtrlCreateInput('', 345, 495, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $HCPHomeTotalRT = GUICtrlCreateInput('', 375, 495, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $Totalhome = GUICtrlCreateInput('Total Including Handicap', 60, 525, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $TotalhomeTotalR1 = GUICtrlCreateInput('', 225, 525, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $TotalhomeTotalR2 = GUICtrlCreateInput('', 255, 525, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $TotalhomeTotalR3 = GUICtrlCreateInput('', 285, 525, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $TotalhomeTotalR4 = GUICtrlCreateInput('', 315, 525, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $TotalhomeTotalR5 = GUICtrlCreateInput('', 345, 525, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $TotalhomeTotalRT = GUICtrlCreateInput('', 375, 525, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $Winnerhome = GUICtrlCreateInput('Check Box of Winner', 60, 555, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $WinnerhomeTotalR1 = GUICtrlCreateCheckbox('', 225, 555, 30, 30, 0x1000) GUICtrlSetBkColor(-1, $beigh) $WinnerhomeTotalR2 = GUICtrlCreateCheckbox('', 255, 555, 30, 30, 0x1000) GUICtrlSetBkColor(-1, $beigh) $WinnerhomeTotalR3 = GUICtrlCreateCheckbox('', 285, 555, 30, 30, 0x1000) GUICtrlSetBkColor(-1, $beigh) $WinnerhomeTotalR4 = GUICtrlCreateCheckbox('', 315, 555, 30, 30, 0x1000) GUICtrlSetBkColor(-1, $beigh) $WinnerhomeTotalR5 = GUICtrlCreateCheckbox('', 345, 555, 30, 30, 0x1000) GUICtrlSetBkColor(-1, $beigh) $WinnerhomeTotalRT = GUICtrlCreateCheckbox('', 375, 555, 30, 30, 0x1000) GUICtrlSetBkColor(-1, $beigh) ; Away $hcpAwayTotal = GUICtrlCreateInput('', 435, 465, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $PointsAway = GUICtrlCreateInput('Points', 465, 465, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $PointsAwayTotalR1 = GUICtrlCreateInput('', 630, 465, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $PointsAwayTotalR2 = GUICtrlCreateInput('', 660, 465, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $PointsAwayTotalR3 = GUICtrlCreateInput('', 690, 465, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $PointsAwayTotalR4 = GUICtrlCreateInput('', 720, 465, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $PointsAwayTotalR5 = GUICtrlCreateInput('', 750, 465, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $PointsAwayTotalRT = GUICtrlCreateInput('', 780, 465, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $HCPAway = GUICtrlCreateInput('HandiCap', 465, 495, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $HCPAwayTotalR1 = GUICtrlCreateInput('', 630, 495, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $HCPAwayTotalR2 = GUICtrlCreateInput('', 660, 495, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $HCPAwayTotalR3 = GUICtrlCreateInput('', 690, 495, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $HCPAwayTotalR4 = GUICtrlCreateInput('', 720, 495, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $HCPAwayTotalR5 = GUICtrlCreateInput('', 750, 495, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $HCPAwayTotalRT = GUICtrlCreateInput('', 780, 495, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $TotalAway = GUICtrlCreateInput('Total Including Handicap', 465, 525, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $TotalAwayTotalR1 = GUICtrlCreateInput('', 630, 525, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $TotalAwayTotalR2 = GUICtrlCreateInput('', 660, 525, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $TotalAwayTotalR3 = GUICtrlCreateInput('', 690, 525, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $TotalAwayTotalR4 = GUICtrlCreateInput('', 720, 525, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $TotalAwayTotalR5 = GUICtrlCreateInput('', 750, 525, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $TotalAwayTotalRT = GUICtrlCreateInput('', 780, 525, 30, 30) GUICtrlSetBkColor(-1, $beigh) GUICtrlSetState(-1, $GUI_DISABLE) $WinnerAway = GUICtrlCreateInput('Check Box of Winner', 465, 555, 165, 30, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetBkColor(-1, $beigh) ;GUICtrlSetState(-1, $GUI_DISABLE) $WinnerAwayTotalR1 = GUICtrlCreateCheckbox('', 630, 555, 30, 30, 0x1000) GUICtrlSetBkColor(-1, $beigh) $WinnerAwayTotalR2 = GUICtrlCreateCheckbox('', 660, 555, 30, 30, 0x1000) GUICtrlSetBkColor(-1, $beigh) $WinnerAwayTotalR3 = GUICtrlCreateCheckbox('', 690, 555, 30, 30, 0x1000) GUICtrlSetBkColor(-1, $beigh) $WinnerAwayTotalR4 = GUICtrlCreateCheckbox('', 720, 555, 30, 30, 0x1000) GUICtrlSetBkColor(-1, $beigh) $WinnerAwayTotalR5 = GUICtrlCreateCheckbox('', 750, 555, 30, 30, 0x1000) GUICtrlSetBkColor(-1, $beigh) $WinnerAwayTotalRT = GUICtrlCreateCheckbox('', 780, 555, 30, 30, 0x1000) GUICtrlSetBkColor(-1, $beigh) $Updating = GUICtrlCreateLabel('UPDATING', 10, 675) GUICtrlSetState(-1, $GUI_Hide) ;$SaveButtonMain = GUICtrlCreateButton('SAVE', 40, 620, 200, 30) ;$SaveButtonMain = GUICtrlCreateButton('', 350,593,100,100) ;GUICtrlSetState(-1, $GUI_DEFBUTTON) ;$options = GUICtrlCreateButton('Options', 240, 620) $MenuTools = GUICtrlCreateMenu("&Tools") GUICtrlSetBkColor(-1, 0xffffff) ;$SaveButtonMain = GUICtrlCreateMenuItem("Save", $MenuTools) $Update = GUICtrlCreateMenuItem("Update HCP", $MenuTools) ;GUICtrlSetState(-1, $GUI_DEFBUTTON) $optionsmenu = GUICtrlCreateMenuItem("Options", $MenuTools) $adminMenu = GUICtrlCreateMenuItem("Admin", $MenuTools) $TeamMenu = GUICtrlCreateMenuItem("Team Update", $MenuTools) $Sessionstart = GUICtrlCreateMenuItem("Session Start", $MenuTools) $Sessionend = GUICtrlCreateMenuItem("Session End", $MenuTools) ;$EndSession = GUICtrlCreateMenuItem("End Session", $MenuTools) $BackupMenu = GUICtrlCreateMenuItem("Back Up", $MenuTools) GUICtrlSetState(-1, $GUI_DISABLE) $FixMenu = GUICtrlCreateMenuItem("Fix Player Total/Games", $MenuTools) ;GUICtrlSetState(-1, $GUI_DISABLE) $exititem = GUICtrlCreateMenuItem("Exit", $MenuTools) $ReportsMenu = GUICtrlCreateMenu("Reports") $SessionCurrentReportsTeamPlayer = GUICtrlCreateMenu("Current Session Reports", $ReportsMenu, 1) $SessionCurrentReportsTeamPlayerStats = GUICtrlCreateMenuItem("Team Player Stats HTML", $SessionCurrentReportsTeamPlayer) $SessionCurrentReportsTeamAllPlayerStatsHTML = GUICtrlCreateMenuItem("All Players HTML", $SessionCurrentReportsTeamPlayer) $SessionCurrentReportsTeamAllPlayerStatsCSV = GUICtrlCreateMenuItem("All Players CSV", $SessionCurrentReportsTeamPlayer) $SessionCurrentReportsTeamAllPlayersDeactive = GUICtrlCreateMenuItem("Deactive Players HTML", $SessionCurrentReportsTeamPlayer) $SessionCurrentReportsTeamStatsXLS = GUICtrlCreateMenuItem("Team Standings XLS", $SessionCurrentReportsTeamPlayer) $ReportTeamItem = GUICtrlCreateMenu("Team Reports", $ReportsMenu, 2) $ReportTeamStatsItem = GUICtrlCreateMenuItem("Team Player Stats HTML", $ReportTeamItem) $ReportTeamScoreItem = GUICtrlCreateMenuItem("Teams Score", $ReportTeamItem) $ReportTeamExcelFile = GUICtrlCreateMenuItem("Team Standings XLS", $ReportTeamItem) $ReportPlayersItem = GUICtrlCreateMenu("All Player Reports", $ReportsMenu, 3) $ReportCSVItem = GUICtrlCreateMenuItem("All Players CSV", $ReportPlayersItem) $ReportHTMLItem = GUICtrlCreateMenuItem("All Players HTML", $ReportPlayersItem) $DisabledReportItem = GUICtrlCreateMenuItem("Deactive Players HTML", $ReportPlayersItem) $ReportPrintHTMLItem = GUICtrlCreateMenuItem("Print HTML", $ReportPlayersItem) $ReportPlayerItem = GUICtrlCreateMenu("Player ID Report", $ReportsMenu, 4) $ReportPlayerHTMLItem = GUICtrlCreateMenuItem("View Player ID HTML", $ReportPlayerItem) $SessionPastReportsTeamPlayer = GUICtrlCreateMenu("Past Session Reports", $ReportsMenu, 5) $SessionPastReportsTeamPlayerStats = GUICtrlCreateMenuItem("Team Player Stats HTML", $SessionPastReportsTeamPlayer) $SessionPastReportsTeamAllPlayerStatsHTML = GUICtrlCreateMenuItem("All Players HTML", $SessionPastReportsTeamPlayer) $SessionPastReportsTeamAllPlayerStatsCSV = GUICtrlCreateMenuItem("All Players CSV", $SessionPastReportsTeamPlayer) $SessionPastReportsTeamAllPlayersDeactive = GUICtrlCreateMenuItem("Deactive Players HTML", $SessionPastReportsTeamPlayer) $SessionPastReportsTeamStatsXLS = GUICtrlCreateMenuItem("Team Standings XLS", $SessionPastReportsTeamPlayer) ;$DisabledReport = GUICtrlCreateMenu("All Players Disabled", $ReportsMenu, 1) ;$DisabledReport = 1 $helpmenu = GUICtrlCreateMenu("Help") $helpitem = GUICtrlCreateMenuItem("Help", $helpmenu) $aboutitem = GUICtrlCreateMenuItem("About", $helpmenu) $restoreitem = GUICtrlCreateMenuItem("Restore Game", $helpmenu) ;GUICtrlSetState($restoreitem, $GUI_DISABLE) $exititemTray = TrayCreateItem("Exit") ;$AdminItem = TrayCreateItem("Admin") GUICtrlSetState($IDhomeP1, $GUI_FOCUS) ;GUISetState() GUISetState(@SW_SHOW, $mainGUI) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Admin GUI $AdminGUI = GUICreate("Admin GUI", 775, 520, 15, 10, $WS_CAPTION);, '','',$WS_EX_CONTEXTHELP) _WinAPI_SetParent($AdminGUI, $mainGUI) GUICtrlCreateGroup('', 2, 2, 460, 95) ;start group GUICtrlCreateLabel('Team: ', 4, 10) $AdminComboTeam = GUICtrlCreateCombo('', 50, 10, 225, 20, BitOR($CBS_DROPDOWN, $CBS_UPPERCASE)) GUICtrlCreateLabel('Location: ', 4, 30) $AdminInputLocation = GUICtrlCreateInput('', 50, 32, 245, 20, $ES_UPPERCASE) GUICtrlCreateLabel('Name: ', 4, 50) $AdminInputName = GUICtrlCreateInput('', 50, 52, 245, 20, $ES_UPPERCASE) GUICtrlCreateLabel('Legal: ', 4, 70) $AdminInputLeagalName = GUICtrlCreateInput('', 50, 70, 245, 20, $ES_UPPERCASE) GUICtrlCreateLabel('ID: ', 325, 71) $AdminInputID = GUICtrlCreateInput('', 350, 69, 110, 20, $ES_NUMBER) ;GUICtrlSetState(-1, $GUI_FOCUS) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateLabel('Locked: ', 305, 50) $AdminInputLock = GUICtrlCreateInput('', 350, 50, 55, 20, $ES_NUMBER) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateLabel('Total Rank: ', 290, 10) $AdminInputTotalRank = GUICtrlCreateInput('', 350, 10, 110, 20, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetColor(-1, 0xff0000) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateLabel('Rank: ', 315, 30, 30) GUICtrlSetColor(-1, 0xff0000) $AdminInputRank = GUICtrlCreateInput('', 350, 30, 110, 20, BitOR($ES_CENTER, $ES_READONLY)) GUICtrlSetColor(-1, 0xff0000) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateGroup("", -99, -99, 1, 1) ;close group ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; GUICtrlCreateGroup('', 2, 93, 460, 35);start group $DropChecks = 30 GUICtrlCreateLabel('Captain: ', 5, 75 + $DropChecks) $AdminCheckBoxCaptain = GUICtrlCreateCheckbox('', 50, 75 + $DropChecks, 20, 20) GUICtrlSetState(-1, $GUI_UNCHECKED) GUICtrlCreateLabel('Sanctioned: ', 90, 75 + $DropChecks) $AdminCheckBoxSanctioned = GUICtrlCreateCheckbox('', 155, 75 + $DropChecks, 20, 20) GUICtrlSetState(-1, $GUI_UNCHECKED) GUICtrlCreateLabel('Eligible: ', 205, 75 + $DropChecks) $AdminCheckBoxEligible = GUICtrlCreateCheckbox('', 245, 75 + $DropChecks, 20, 20) GUICtrlSetState(-1, BitOR($GUI_CHECKED, $GUI_DISABLE)) GUICtrlCreateLabel('Dues: ', 290, 75 + $DropChecks) $AdminCheckBoxDues = GUICtrlCreateCheckbox('', 330, 75 + $DropChecks, 20, 20) GUICtrlSetState(-1, $GUI_CHECKED) GUICtrlCreateLabel('Active: ', 375, 75 + $DropChecks) $AdminCheckBoxActive = GUICtrlCreateCheckbox('', 425, 75 + $DropChecks, 20, 20) GUICtrlSetState(-1, BitOR($GUI_CHECKED, $GUI_DISABLE)) GUICtrlCreateGroup("", -99, -99, 1, 1) ;close group GUICtrlCreateGroup('', 2, 120, 460, 105);start group $DropStats = 35 GUICtrlCreateLabel('Wins: ', 5, 100 + $DropStats, 30) $AdminInputWins = GUICtrlCreateInput('', 40, 100 + $DropStats, 110, 20, $ES_READONLY) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateLabel('Tens: ', 5, 120 + $DropStats, 30) $AdminInputTens = GUICtrlCreateInput('', 40, 120 + $DropStats, 110, 20, $ES_READONLY) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateLabel('Runs: ', 5, 140 + $DropStats, 30) $AdminInputRuns = GUICtrlCreateInput('', 40, 140 + $DropStats, 110, 20, $ES_READONLY) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateLabel('Loss: ', 155, 100 + $DropStats, 30) $AdminInputLoss = GUICtrlCreateInput('', 190, 100 + $DropStats, 110, 20, $ES_READONLY) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateLabel('Games: ', 305, 100 + $DropStats, 35) $AdminInputGames = GUICtrlCreateInput('', 350, 100 + $DropStats, 110, 20, $ES_READONLY) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateLabel('PF: ', 325, 120 + $DropStats, 30) $AdminInputPF = GUICtrlCreateInput('', 350, 120 + $DropStats, 110, 20, $ES_READONLY) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateLabel('PA: ', 323, 140 + $DropStats, 30) $AdminInputPA = GUICtrlCreateInput('', 350, 140 + $DropStats, 110, 20, $ES_READONLY) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateLabel('Total: ', 315, 160 + $DropStats) $AdminInputTotal = GUICtrlCreateInput('', 350, 160 + $DropStats, 110, 20, $ES_READONLY) GUICtrlCreateLabel('Score:', 5, 195) $AdminInputScore = GUICtrlCreateLabel('', 40, 160 + $DropStats, 260, 20, $SS_SUNKEN) GUICtrlCreateGroup("", -99, -99, 1, 1) ;close group $subspec = 20 GUICtrlCreateGroup('', 2, 220, 460, 55);start group GUICtrlCreateLabel('Perfect Score: ', 5, 252 - $subspec, 70) $AdminInputPerfectScore = GUICtrlCreateInput('', 85, 250 - $subspec, 110, 20, $ES_READONLY) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateLabel('8 On Break: ', 16, 272 - $subspec, 70) $AdminInput8OnBreak = GUICtrlCreateInput('', 85, 270 - $subspec, 110, 20, $ES_READONLY) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateLabel('Weeks Played: ', 265, 252 - $subspec, 100) $AdminInputWeeksPlayed = GUICtrlCreateInput('', 350, 250 - $subspec, 110, 20, $ES_READONLY) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateLabel('Continuous Wins: ', 255, 272 - $subspec, 100) $AdminInputContinuousWin = GUICtrlCreateInput('', 350, 270 - $subspec, 110, 20, $ES_READONLY) GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateGroup("", -99, -99, 1, 1) ;close group GUICtrlCreateGroup('', 2, 280, 460, 105);start group $dropaddress = 50 GUICtrlCreateLabel('Players Address:', 5, 300, 100) $AdminInputPlayerAddress = GUICtrlCreateInput('', 105, 300, 350) GUICtrlCreateLabel('Players Email:', 5, 330, 100) $AdminInputPlayerEmail = GUICtrlCreateInput('', 105, 330, 350) GUICtrlCreateLabel('Players Telephone:', 5, 360, 100) $AdminInputPlayerTelephone = GUICtrlCreateInput('', 105, 360, 150) GUICtrlCreateGroup("", -99, -99, 1, 1) ;close group GUICtrlCreateGroup('', 2, 380, 460, 40);start group $DropDays = 180 $RightDays = 40 $AdminCheckBoxDayMonday = GUICtrlCreateCheckbox('Monday', 15 + $RightDays, 215 + $DropDays) ;GUICtrlCreateLabel('Monday', 35, 180) $AdminCheckBoxDayTuesday = GUICtrlCreateCheckbox('Tuesday', 85 + $RightDays, 215 + $DropDays) ;GUICtrlCreateLabel('Tuesday', 105, 180) $AdminCheckBoxDayWednesday = GUICtrlCreateCheckbox('Wednesday', 155 + $RightDays, 215 + $DropDays) ;GUICtrlCreateLabel('Wednesday', 175, 180) $AdminCheckBoxDayThursday = GUICtrlCreateCheckbox('Thursday', 240 + $RightDays, 215 + $DropDays) ;GUICtrlCreateLabel('Thursday', 260, 180) $AdminCheckBoxDayFriday = GUICtrlCreateCheckbox('Friday', 320 + $RightDays, 215 + $DropDays) ;GUICtrlCreateLabel('Friday', 340, 180) GUICtrlCreateGroup("", -99, -99, 1, 1) ;close group $AdminListPlayers = GUICtrlCreateCombo('PLAYERS', 465, 25, 300, 460, $WS_VSCROLL) ;GUICtrlSetFont($AdminListPlayers, 10, Default, Default, "Courier New") ;GUICtrlSetFont(-1, 10, Default, Default, "Consolas") If Not GUICtrlSetFont($AdminListPlayers, 10, Default, Default, "Consolas") Then ;"Comic Sans MS") Then ;"Consolas") Then ;MsgBox('','true','') ConsoleWrite(@CRLF & @CRLF & 'Fonts are "Consolas"' & @CRLF & @CRLF & @CRLF & @CRLF) ;GUICtrlSetFont($AdminListPlayers, 10, Default, Default, "Consolas") Else ;MsgBox('','',GUICtrlSetFont($AdminListPlayers, 10, Default, Default, "Courier New")) ConsoleWrite(@CRLF & @CRLF & 'Fonts are "Courier New"' & @CRLF & @CRLF & @CRLF & @CRLF) GUICtrlSetFont($AdminListPlayers, '') GUICtrlSetFont($AdminListPlayers, 10, Default, Default, "Courier New") EndIf ;GUICtrlSetLimit(-1, 180) ; to limit horizontal scrolling $AdminButtonSortID = GUICtrlCreateButton('Sort ID', 465, 0) $AdminButtonSortLast = GUICtrlCreateButton('Sort LAST', 515, 0) $AdminButtonSortFirst = GUICtrlCreateButton('Sort FIRST', 585, 0) ;wtfu $SubButtons = 50 $MoveLeft = 5 $AdminButtontAddTeam = GUICtrlCreateButton("Add Team", 60 - $MoveLeft, 500 - $SubButtons, 55) ;GUICtrlSetState(-1, $GUI_DISABLE) $AdminButtontAddID = GUICtrlCreateButton("Add ID", 120 - $MoveLeft, 500 - $SubButtons, 55) $AdminButtontSave = GUICtrlCreateButton("Save", 180 - $MoveLeft, 500 - $SubButtons, 55) $AdminButtontBack = GUICtrlCreateButton("Back", 240 - $MoveLeft, 500 - $SubButtons, 55) $AdminButtontNext = GUICtrlCreateButton("Next", 300 - $MoveLeft, 500 - $SubButtons, 55) $AdminButtontGo = GUICtrlCreateButton(" Go ", 360 - $MoveLeft, 500 - $SubButtons, 55, '', 0x0001) ; allows this to be the main control so when you press enter you goto the ID $AdminDummyInputScoreMisc_Stats = GUICtrlCreateDummy() $AdminMenuTools = GUICtrlCreateMenu("&Tools") ;$SaveButtonMain = GUICtrlCreateMenuItem("Save", $MenuTools) $AdminItemToolsClearYear = GUICtrlCreateMenuItem("Clear Year", $AdminMenuTools) ;GUICtrlSetState(-1, $GUI_DEFBUTTON) $AdminItemToolsClearTeam = GUICtrlCreateMenuItem("Clear Team", $AdminMenuTools) $AdminItemToolsDeletePlayer = GUICtrlCreateMenuItem("Delete Player", $AdminMenuTools) $AdminItemToolsMovePlayer = GUICtrlCreateMenuItem("Move Player", $AdminMenuTools) ;GUICtrlSetState(-1, $GUI_DISABLE) $AdminItemToolsDeActivatePlayer = GUICtrlCreateMenuItem("Deactivate Player", $AdminMenuTools) $AdminMenuEdit = GUICtrlCreateMenuItem("Admin Edit", $AdminMenuTools) $AdminItemEditTeams = GUICtrlCreateMenuItem("Teams", $AdminMenuTools) $AdminItemEditPlayerRoster = GUICtrlCreateMenuItem("Roster", $AdminMenuTools) $AdminItemEditExit = GUICtrlCreateMenuItem("Exit", $AdminMenuTools) GUISetState(@SW_HIDE, $AdminGUI) ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop If $msg = $adminMenu Then GUISetState(@SW_SHOW, $AdminGUI) WEnd GUIDelete() edit - is there a limit to how many lines or char for the autoit tags Edited December 30, 2010 by nitekram 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator Link to comment Share on other sites More sharing options...
nitekram Posted January 5, 2011 Author Share Posted January 5, 2011 Bump - just wondering if this is a bug in my script or a bug in the function _WinAPI_SetParent As you can see - not much going on in my script just a bunch of controls - if you open it up and then click the top where it says tools and the click on admin - you will see that the parent bleeds into the child. 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator Link to comment Share on other sites More sharing options...
rover Posted January 5, 2011 Share Posted January 5, 2011 nitekram double buffering fixes this add $WS_EX_COMPOSITED style to main gui I see fascists... Link to comment Share on other sites More sharing options...
nitekram Posted January 6, 2011 Author Share Posted January 6, 2011 In my code - I replaced the line for the main gui with this - still does not work? $mainGUI = GUICreate('HANDiPOOL', 810, 720, -1, -1, BitOR($WS_EX_COMPOSITED, $WS_POPUP, $GUI_SS_DEFAULT_GUI, $WS_CLIPCHILDREN, $WS_SIZEBOX)) 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator Link to comment Share on other sites More sharing options...
rover Posted January 6, 2011 Share Posted January 6, 2011 In my code - I replaced the line for the main gui with this - still does not work?$mainGUI = GUICreate('HANDiPOOL', 810, 720, -1, -1, BitOR($WS_EX_COMPOSITED, $WS_POPUP, $GUI_SS_DEFAULT_GUI, $WS_CLIPCHILDREN, $WS_SIZEBOX))that's an extended styletry this$mainGUI = GUICreate('HANDiPOOL', 810, 720, -1, -1, BitOR($WS_POPUP, $GUI_SS_DEFAULT_GUI, $WS_CLIPCHILDREN, $WS_SIZEBOX), $WS_EX_COMPOSITED) I see fascists... Link to comment Share on other sites More sharing options...
nitekram Posted January 6, 2011 Author Share Posted January 6, 2011 that's an extended styletry this$mainGUI = GUICreate('HANDiPOOL', 810, 720, -1, -1, BitOR($WS_POPUP, $GUI_SS_DEFAULT_GUI, $WS_CLIPCHILDREN, $WS_SIZEBOX), $WS_EX_COMPOSITED)will try later - leaving for the day - thanks for the quick reply - let you know what i find 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator Link to comment Share on other sites More sharing options...
rover Posted January 6, 2011 Share Posted January 6, 2011 BitOr($WS_EX_COMPOSITED,$WS_EX_LAYERED) is less laggy on repaint I see fascists... Link to comment Share on other sites More sharing options...
nitekram Posted January 6, 2011 Author Share Posted January 6, 2011 Thanks again - it worked well. 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator 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