JRowe Posted May 23, 2008 Share Posted May 23, 2008 When I design a GUI with Koda, everything starts normally, and behaves fine, until a window passes over it, or I drag it in and out of the screen bounds. Then, the GUI isn't repainted, and I can't find out how to force a redraw of the GUI to avoid this. How do I avoid it? [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] Link to comment Share on other sites More sharing options...
martin Posted May 23, 2008 Share Posted May 23, 2008 When I design a GUI with Koda, everything starts normally, and behaves fine, until a window passes over it, or I drag it in and out of the screen bounds. Then, the GUI isn't repainted, and I can't find out how to force a redraw of the GUI to avoid this.How do I avoid it?I've never had that problem. Can you post an example of the code generated by Koda? Also what version of Koda and what version of AutoIt? Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
JRowe Posted May 24, 2008 Author Share Posted May 24, 2008 Koda 1.7.0.1 Autoit v3.2.10.0 It only happens on a large GUI, with some 80 controls scattered across 4 tab pages. When I drag a window over the GUI or if I drag the GUI off screen, the GUI won't repaint, so I'm left with this: I've seen it happen in other situations, too, with c# and c++, but I can't recall how to fix it. [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] Link to comment Share on other sites More sharing options...
Valuater Posted May 24, 2008 Share Posted May 24, 2008 Koda 1.7.0.1 Autoit v3.2.10.0 It only happens on a large GUI, with some 80 controls scattered across 4 tab pages. When I drag a window over the GUI or if I drag the GUI off screen, the GUI won't repaint, so I'm left with this: I've seen it happen in other situations, too, with c# and c++, but I can't recall how to fix it. Wow... That should be fixed ...Thanks for showing that 8) Link to comment Share on other sites More sharing options...
JRowe Posted May 24, 2008 Author Share Posted May 24, 2008 Wow... That should be fixed...Thanks for showing that8)Err, sorry, posted too fast. Forgot to include the generated code.Here it is.CODE#include <GUIConstants.au3>#Region ### START Koda GUI section ### Form=c:\documents and settings\work\desktop\koda_1.7.0.1(2)\forms\MyForm.kxf$Form1_1 = GUICreate("MyForm", 834, 517, 247, 190, -1, BitOR($WS_EX_TRANSPARENT,$WS_EX_WINDOWEDGE))$Tab1 = GUICtrlCreateTab(0, 0, 825, 489)GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT)$TabSheet1 = GUICtrlCreateTabItem("Game Configuration")$Button3 = GUICtrlCreateButton("Player 3 Launch", 28, 86, 91, 25, 0)$Button4 = GUICtrlCreateButton("Player 4 Launch", 28, 110, 91, 25, 0)$Button1 = GUICtrlCreateButton("Player 1 Launch", 28, 38, 91, 25, 0)$Button5 = GUICtrlCreateButton("Player 5 Launch", 28, 134, 91, 25, 0)$Button6 = GUICtrlCreateButton("Player 6 Launch", 28, 158, 91, 25, 0)$Button7 = GUICtrlCreateButton("Player 7 Launch", 28, 182, 91, 25, 0)$Button8 = GUICtrlCreateButton("Player 8 Launch", 28, 206, 91, 25, 0)$Button9 = GUICtrlCreateButton("Player 9 Launch", 28, 230, 91, 25, 0)$Button2 = GUICtrlCreateButton("Player 2 Launch", 27, 62, 91, 25, 0)$Button10 = GUICtrlCreateButton("Player 10 Launch", 28, 254, 91, 25, 0)$Progress1 = GUICtrlCreateProgress(125, 41, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))GUICtrlSetColor(-1, 0x0000FF)$Progress2 = GUICtrlCreateProgress(125, 65, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))GUICtrlSetColor(-1, 0x0000FF)$Progress3 = GUICtrlCreateProgress(125, 89, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))GUICtrlSetColor(-1, 0x0000FF)$Progress4 = GUICtrlCreateProgress(125, 113, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))GUICtrlSetColor(-1, 0x0000FF)$Progress5 = GUICtrlCreateProgress(125, 137, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))GUICtrlSetColor(-1, 0x0000FF)$Progress6 = GUICtrlCreateProgress(125, 161, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))GUICtrlSetColor(-1, 0x0000FF)$Progress7 = GUICtrlCreateProgress(125, 185, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))GUICtrlSetColor(-1, 0x0000FF)$Progress8 = GUICtrlCreateProgress(125, 209, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))GUICtrlSetColor(-1, 0x0000FF)$Progress9 = GUICtrlCreateProgress(125, 233, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))GUICtrlSetColor(-1, 0x0000FF)$Progress10 = GUICtrlCreateProgress(125, 257, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))GUICtrlSetColor(-1, 0x0000FF)$Checkbox5 = GUICtrlCreateCheckbox("", 10, 91, 17, 17)$Checkbox6 = GUICtrlCreateCheckbox("", 10, 67, 17, 17)$Checkbox7 = GUICtrlCreateCheckbox("", 10, 43, 17, 17)$Checkbox8 = GUICtrlCreateCheckbox("", 10, 163, 17, 17)$Checkbox9 = GUICtrlCreateCheckbox("", 10, 139, 17, 17)$Checkbox10 = GUICtrlCreateCheckbox("", 10, 115, 17, 17)$Checkbox11 = GUICtrlCreateCheckbox("", 10, 235, 17, 17)$Checkbox12 = GUICtrlCreateCheckbox("", 10, 211, 17, 17)$Checkbox13 = GUICtrlCreateCheckbox("", 10, 187, 17, 17)$Checkbox16 = GUICtrlCreateCheckbox("", 10, 259, 17, 17)$Input4 = GUICtrlCreateInput("Choose Game Executable", 283, 41, 241, 21)$Input5 = GUICtrlCreateInput("Choose Game Executable", 282, 65, 241, 21)$Input6 = GUICtrlCreateInput("Choose Game Executable", 282, 89, 241, 21)$Input7 = GUICtrlCreateInput("Choose Game Executable", 282, 137, 241, 21)$Input8 = GUICtrlCreateInput("Choose Game Executable", 282, 161, 241, 21)$Input9 = GUICtrlCreateInput("Choose Game Executable", 283, 113, 241, 21)$Input10 = GUICtrlCreateInput("Choose Game Executable", 282, 209, 241, 21)$Input11 = GUICtrlCreateInput("Choose Game Executable", 282, 233, 241, 21)$Input12 = GUICtrlCreateInput("Choose Game Executable", 283, 185, 241, 21)$Input13 = GUICtrlCreateInput("Choose Game Executable", 282, 257, 241, 21)$TabSheet2 = GUICtrlCreateTabItem("Log")$Edit1 = GUICtrlCreateEdit("", 16, 40, 793, 433)GUICtrlSetData(-1, "")$TabSheet6 = GUICtrlCreateTabItem("Action Designer")$Button18 = GUICtrlCreateButton("New Action", 24, 40, 75, 25, 0)$Input3 = GUICtrlCreateInput("ActionName", 112, 42, 121, 21)$Combo1 = GUICtrlCreateCombo("Action Type...", 247, 42, 145, 25)GUICtrlSetData(-1, "Game Data|Game Control|System Data|System Control|Time Action|User Defined")$List1 = GUICtrlCreateList("", 24, 94, 121, 370)$Label1 = GUICtrlCreateLabel("Action List", 56, 77, 53, 17)$Group1 = GUICtrlCreateGroup("Action Editor", 152, 88, 617, 377)$List5 = GUICtrlCreateList("", 339, 384, 177, 58)GUICtrlSetData(-1, "Action to Queue")$Combo12 = GUICtrlCreateCombo("Time Event Type", 195, 392, 121, 25)GUICtrlSetData(-1, "Schedule Queue|Pause")$Input18 = GUICtrlCreateInput("Get data from Database...", 339, 352, 153, 21)$Input19 = GUICtrlCreateInput("Put data to Database...", 339, 320, 153, 21)$Input20 = GUICtrlCreateInput("Enter Formula...", 339, 288, 97, 21)GUICtrlSetTip(-1, "Mathematical Formulas return a number; Logical Formulas return True/False")$Input21 = GUICtrlCreateInput("Modify Variable...", 451, 288, 121, 21)$Combo13 = GUICtrlCreateCombo("User Function Type", 195, 288, 121, 25)$Combo14 = GUICtrlCreateCombo("Process Action Handle", 195, 248, 121, 25)$Combo15 = GUICtrlCreateCombo("Process Action Type", 339, 248, 145, 25)$Combo16 = GUICtrlCreateCombo("Game Action Type", 339, 208, 145, 25)$Combo17 = GUICtrlCreateCombo("Game Action Handle", 195, 208, 121, 25)$Combo18 = GUICtrlCreateCombo("Process Data Handle", 195, 168, 121, 25)$Combo19 = GUICtrlCreateCombo("Game Data Pointer", 195, 128, 121, 25)$Combo20 = GUICtrlCreateCombo("Game Data Offset", 339, 128, 145, 25)$Combo21 = GUICtrlCreateCombo("Process Data Retrieval", 339, 168, 145, 25)$Input22 = GUICtrlCreateInput("Process Variable", 499, 168, 121, 21)$Input23 = GUICtrlCreateInput("Game Data Variable", 499, 128, 121, 21)GUICtrlCreateGroup("", -99, -99, 1, 1)$TabSheet3 = GUICtrlCreateTabItem("Scripts")$List3 = GUICtrlCreateList("", 8, 32, 121, 136, BitOR($WS_VSCROLL,$WS_BORDER))GUICtrlSetData(-1, "Script 1|Script 10|Script 11|Script 12|Script 13|Script 14|Script 15|Script 16|Script 17|Script 18|Script 19|Script 2|Script 20|Script 3|Script 4|Script 5|Script 6|Script 7|Script 8|Script 9")$TreeView1 = GUICtrlCreateTreeView(144, 32, 433, 369)$TreeView1_0 = GUICtrlCreateTreeViewItem("123", $TreeView1)$TreeView1_1 = GUICtrlCreateTreeViewItem("2", $TreeView1_0)$TreeView1_2 = GUICtrlCreateTreeViewItem("321", $TreeView1)$TreeView1_3 = GUICtrlCreateTreeViewItem("3", $TreeView1_2)$TreeView1_4 = GUICtrlCreateTreeViewItem("231", $TreeView1)$TreeView1_5 = GUICtrlCreateTreeViewItem("1", $TreeView1_4)$TreeView1_6 = GUICtrlCreateTreeViewItem("312", $TreeView1)$TreeView1_7 = GUICtrlCreateTreeViewItem("3", $TreeView1_6)$TreeView1_8 = GUICtrlCreateTreeViewItem("213", $TreeView1)$TreeView1_9 = GUICtrlCreateTreeViewItem("2", $TreeView1_8)$List4 = GUICtrlCreateList("", 8, 176, 121, 227)GUICtrlSetData(-1, "Actions List")$Button11 = GUICtrlCreateButton("(Not allowed)", 24, 408, 104, 73, BitOR($BS_PUSHBOX,$BS_FLAT,$WS_BORDER), $WS_EX_CLIENTEDGE)GUICtrlSetTip(-1, "Start Selected Script")$Button12 = GUICtrlCreateButton("(Not allowed)", 138, 408, 73, 73, BitOR($BS_PUSHBOX,$BS_LEFT,$BS_TOP,$BS_FLAT,$WS_BORDER), $WS_EX_CLIENTEDGE)GUICtrlSetTip(-1, "Stop Selected Script")GUICtrlCreateTabItem("")$MenuItem4 = GUICtrlCreateMenu("&Game Configuration")$MenuItem5 = GUICtrlCreateMenuItem("Save Configuration...", $MenuItem4)$MenuItem6 = GUICtrlCreateMenuItem("Load Configuration...", $MenuItem4)$MenuItem7 = GUICtrlCreateMenuItem("Exit Program", $MenuItem4)$MenuItem3 = GUICtrlCreateMenu("&Log")$MenuItem9 = GUICtrlCreateMenuItem("Log All Events", $MenuItem3, -1 , 1)GUICtrlSetState(-1, $GUI_CHECKED)$MenuItem8 = GUICtrlCreateMenuItem("Log Custom Events", $MenuItem3, -1 , 1)$MenuItem2 = GUICtrlCreateMenu("&Action Designer")$MenuItem11 = GUICtrlCreateMenuItem("Import Action List", $MenuItem2)$MenuItem10 = GUICtrlCreateMenuItem("Export Action List", $MenuItem2)$MenuItem1 = GUICtrlCreateMenu("&Scripts")$MenuItem13 = GUICtrlCreateMenuItem("Load Script", $MenuItem1)$MenuItem12 = GUICtrlCreateMenuItem("Save Selected Script", $MenuItem1)GUISetState(@SW_SHOW)#EndRegion ### END Koda GUI section ###While 1$nMsg = GUIGetMsg()Switch $nMsgCase $GUI_EVENT_CLOSEExitEndSwitchWEnd [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] Link to comment Share on other sites More sharing options...
Valuater Posted May 24, 2008 Share Posted May 24, 2008 (edited) Well, it appears its not KODA's Fault... I made all the corrections to the current includes and ran this in Scite .. I got the same error if taken off-screen expandcollapse popup#include <GUIConstants.au3> #include <WindowsConstants.au3> #include <ProgressConstants.au3> #include <StaticConstants.au3> #include <ButtonConstants.au3> #Region ### START Koda GUI section ### Form=c:\documents and settings\work\desktop\koda_1.7.0.1(2)\forms\MyForm.kxf $Form1_1 = GUICreate("MyForm", 834, 517, 247, 190, -1, BitOR($WS_EX_TRANSPARENT,$WS_EX_WINDOWEDGE)) $Tab1 = GUICtrlCreateTab(0, 0, 825, 489) GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) $TabSheet1 = GUICtrlCreateTabItem("Game Configuration") $Button3 = GUICtrlCreateButton("Player 3 Launch", 28, 86, 91, 25, 0) $Button4 = GUICtrlCreateButton("Player 4 Launch", 28, 110, 91, 25, 0) $Button1 = GUICtrlCreateButton("Player 1 Launch", 28, 38, 91, 25, 0) $Button5 = GUICtrlCreateButton("Player 5 Launch", 28, 134, 91, 25, 0) $Button6 = GUICtrlCreateButton("Player 6 Launch", 28, 158, 91, 25, 0) $Button7 = GUICtrlCreateButton("Player 7 Launch", 28, 182, 91, 25, 0) $Button8 = GUICtrlCreateButton("Player 8 Launch", 28, 206, 91, 25, 0) $Button9 = GUICtrlCreateButton("Player 9 Launch", 28, 230, 91, 25, 0) $Button2 = GUICtrlCreateButton("Player 2 Launch", 27, 62, 91, 25, 0) $Button10 = GUICtrlCreateButton("Player 10 Launch", 28, 254, 91, 25, 0) $Progress1 = GUICtrlCreateProgress(125, 41, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE)) GUICtrlSetColor(-1, 0x0000FF) $Progress2 = GUICtrlCreateProgress(125, 65, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE)) GUICtrlSetColor(-1, 0x0000FF) $Progress3 = GUICtrlCreateProgress(125, 89, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE)) GUICtrlSetColor(-1, 0x0000FF) $Progress4 = GUICtrlCreateProgress(125, 113, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE)) GUICtrlSetColor(-1, 0x0000FF) $Progress5 = GUICtrlCreateProgress(125, 137, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE)) GUICtrlSetColor(-1, 0x0000FF) $Progress6 = GUICtrlCreateProgress(125, 161, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE)) GUICtrlSetColor(-1, 0x0000FF) $Progress7 = GUICtrlCreateProgress(125, 185, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE)) GUICtrlSetColor(-1, 0x0000FF) $Progress8 = GUICtrlCreateProgress(125, 209, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE)) GUICtrlSetColor(-1, 0x0000FF) $Progress9 = GUICtrlCreateProgress(125, 233, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE)) GUICtrlSetColor(-1, 0x0000FF) $Progress10 = GUICtrlCreateProgress(125, 257, 150, 20, BitOR($PBS_SMOOTH,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE)) GUICtrlSetColor(-1, 0x0000FF) $Checkbox5 = GUICtrlCreateCheckbox("", 10, 91, 17, 17) $Checkbox6 = GUICtrlCreateCheckbox("", 10, 67, 17, 17) $Checkbox7 = GUICtrlCreateCheckbox("", 10, 43, 17, 17) $Checkbox8 = GUICtrlCreateCheckbox("", 10, 163, 17, 17) $Checkbox9 = GUICtrlCreateCheckbox("", 10, 139, 17, 17) $Checkbox10 = GUICtrlCreateCheckbox("", 10, 115, 17, 17) $Checkbox11 = GUICtrlCreateCheckbox("", 10, 235, 17, 17) $Checkbox12 = GUICtrlCreateCheckbox("", 10, 211, 17, 17) $Checkbox13 = GUICtrlCreateCheckbox("", 10, 187, 17, 17) $Checkbox16 = GUICtrlCreateCheckbox("", 10, 259, 17, 17) $Input4 = GUICtrlCreateInput("Choose Game Executable", 283, 41, 241, 21) $Input5 = GUICtrlCreateInput("Choose Game Executable", 282, 65, 241, 21) $Input6 = GUICtrlCreateInput("Choose Game Executable", 282, 89, 241, 21) $Input7 = GUICtrlCreateInput("Choose Game Executable", 282, 137, 241, 21) $Input8 = GUICtrlCreateInput("Choose Game Executable", 282, 161, 241, 21) $Input9 = GUICtrlCreateInput("Choose Game Executable", 283, 113, 241, 21) $Input10 = GUICtrlCreateInput("Choose Game Executable", 282, 209, 241, 21) $Input11 = GUICtrlCreateInput("Choose Game Executable", 282, 233, 241, 21) $Input12 = GUICtrlCreateInput("Choose Game Executable", 283, 185, 241, 21) $Input13 = GUICtrlCreateInput("Choose Game Executable", 282, 257, 241, 21) $TabSheet2 = GUICtrlCreateTabItem("Log") $Edit1 = GUICtrlCreateEdit("", 16, 40, 793, 433) GUICtrlSetData(-1, "") $TabSheet6 = GUICtrlCreateTabItem("Action Designer") $Button18 = GUICtrlCreateButton("New Action", 24, 40, 75, 25, 0) $Input3 = GUICtrlCreateInput("ActionName", 112, 42, 121, 21) $Combo1 = GUICtrlCreateCombo("Action Type...", 247, 42, 145, 25) GUICtrlSetData(-1, "Game Data|Game Control|System Data|System Control|Time Action|User Defined") $List1 = GUICtrlCreateList("", 24, 94, 121, 370) $Label1 = GUICtrlCreateLabel("Action List", 56, 77, 53, 17) $Group1 = GUICtrlCreateGroup("Action Editor", 152, 88, 617, 377) $List5 = GUICtrlCreateList("", 339, 384, 177, 58) GUICtrlSetData(-1, "Action to Queue") $Combo12 = GUICtrlCreateCombo("Time Event Type", 195, 392, 121, 25) GUICtrlSetData(-1, "Schedule Queue|Pause") $Input18 = GUICtrlCreateInput("Get data from Database...", 339, 352, 153, 21) $Input19 = GUICtrlCreateInput("Put data to Database...", 339, 320, 153, 21) $Input20 = GUICtrlCreateInput("Enter Formula...", 339, 288, 97, 21) GUICtrlSetTip(-1, "Mathematical Formulas return a number; Logical Formulas return True/False") $Input21 = GUICtrlCreateInput("Modify Variable...", 451, 288, 121, 21) $Combo13 = GUICtrlCreateCombo("User Function Type", 195, 288, 121, 25) $Combo14 = GUICtrlCreateCombo("Process Action Handle", 195, 248, 121, 25) $Combo15 = GUICtrlCreateCombo("Process Action Type", 339, 248, 145, 25) $Combo16 = GUICtrlCreateCombo("Game Action Type", 339, 208, 145, 25) $Combo17 = GUICtrlCreateCombo("Game Action Handle", 195, 208, 121, 25) $Combo18 = GUICtrlCreateCombo("Process Data Handle", 195, 168, 121, 25) $Combo19 = GUICtrlCreateCombo("Game Data Pointer", 195, 128, 121, 25) $Combo20 = GUICtrlCreateCombo("Game Data Offset", 339, 128, 145, 25) $Combo21 = GUICtrlCreateCombo("Process Data Retrieval", 339, 168, 145, 25) $Input22 = GUICtrlCreateInput("Process Variable", 499, 168, 121, 21) $Input23 = GUICtrlCreateInput("Game Data Variable", 499, 128, 121, 21) GUICtrlCreateGroup("", -99, -99, 1, 1) $TabSheet3 = GUICtrlCreateTabItem("Scripts") $List3 = GUICtrlCreateList("", 8, 32, 121, 136, BitOR($WS_VSCROLL,$WS_BORDER)) GUICtrlSetData(-1, "Script 1|Script 10|Script 11|Script 12|Script 13|Script 14|Script 15|Script 16|Script 17|Script 18|Script 19|Script 2|Script 20|Script 3|Script 4|Script 5|Script 6|Script 7|Script 8|Script 9") $TreeView1 = GUICtrlCreateTreeView(144, 32, 433, 369) $TreeView1_0 = GUICtrlCreateTreeViewItem("123", $TreeView1) $TreeView1_1 = GUICtrlCreateTreeViewItem("2", $TreeView1_0) $TreeView1_2 = GUICtrlCreateTreeViewItem("321", $TreeView1) $TreeView1_3 = GUICtrlCreateTreeViewItem("3", $TreeView1_2) $TreeView1_4 = GUICtrlCreateTreeViewItem("231", $TreeView1) $TreeView1_5 = GUICtrlCreateTreeViewItem("1", $TreeView1_4) $TreeView1_6 = GUICtrlCreateTreeViewItem("312", $TreeView1) $TreeView1_7 = GUICtrlCreateTreeViewItem("3", $TreeView1_6) $TreeView1_8 = GUICtrlCreateTreeViewItem("213", $TreeView1) $TreeView1_9 = GUICtrlCreateTreeViewItem("2", $TreeView1_8) $List4 = GUICtrlCreateList("", 8, 176, 121, 227) GUICtrlSetData(-1, "Actions List") $Button11 = GUICtrlCreateButton("(Not allowed)", 24, 408, 104, 73, BitOR($BS_PUSHBOX,$BS_FLAT,$WS_BORDER), $WS_EX_CLIENTEDGE) GUICtrlSetTip(-1, "Start Selected Script") $Button12 = GUICtrlCreateButton("(Not allowed)", 138, 408, 73, 73, BitOR($BS_PUSHBOX,$BS_LEFT,$BS_TOP,$BS_FLAT,$WS_BORDER), $WS_EX_CLIENTEDGE) GUICtrlSetTip(-1, "Stop Selected Script") GUICtrlCreateTabItem("") $MenuItem4 = GUICtrlCreateMenu("&Game Configuration") $MenuItem5 = GUICtrlCreateMenuItem("Save Configuration...", $MenuItem4) $MenuItem6 = GUICtrlCreateMenuItem("Load Configuration...", $MenuItem4) $MenuItem7 = GUICtrlCreateMenuItem("Exit Program", $MenuItem4) $MenuItem3 = GUICtrlCreateMenu("&Log") $MenuItem9 = GUICtrlCreateMenuItem("Log All Events", $MenuItem3, -1 , 1) GUICtrlSetState(-1, $GUI_CHECKED) $MenuItem8 = GUICtrlCreateMenuItem("Log Custom Events", $MenuItem3, -1 , 1) $MenuItem2 = GUICtrlCreateMenu("&Action Designer") $MenuItem11 = GUICtrlCreateMenuItem("Import Action List", $MenuItem2) $MenuItem10 = GUICtrlCreateMenuItem("Export Action List", $MenuItem2) $MenuItem1 = GUICtrlCreateMenu("&Scripts") $MenuItem13 = GUICtrlCreateMenuItem("Load Script", $MenuItem1) $MenuItem12 = GUICtrlCreateMenuItem("Save Selected Script", $MenuItem1) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd 8) Edited May 24, 2008 by Valuater Link to comment Share on other sites More sharing options...
JRowe Posted May 24, 2008 Author Share Posted May 24, 2008 Could it just be an issue of "way too much crap on the GUI" ? I'm going to redo it with xSkin, anyway, and I'm going to be adding and removing controls all over the place. I am curious as to why it's happening, though. [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] Link to comment Share on other sites More sharing options...
Valuater Posted May 24, 2008 Share Posted May 24, 2008 Could it just be an issue of "way too much crap on the GUI" ? I'm going to redo it with xSkin, anyway, and I'm going to be adding and removing controls all over the place.I am curious as to why it's happening, though.I think it would be best to find the issue now, before adding XSkin8) Link to comment Share on other sites More sharing options...
JRowe Posted May 24, 2008 Author Share Posted May 24, 2008 (edited) This still does it: CODE #include <GUIConstants.au3> #include <WindowsConstants.au3> #include <ProgressConstants.au3> #include <StaticConstants.au3> #include <ButtonConstants.au3> #Region ### START Koda GUI section ### Form=c:\documents and settings\work\desktop\koda_1.7.0.1(2)\forms\MyForm.kxf $Form1_1 = GUICreate("MyForm", 834, 517, 247, 190, -1, BitOR($WS_EX_TRANSPARENT,$WS_EX_WINDOWEDGE)) $Tab1 = GUICtrlCreateTab(0, 0, 825, 489) GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) $TabSheet1 = GUICtrlCreateTabItem("1") $TabSheet2 = GUICtrlCreateTabItem("2") $TabSheet6 = GUICtrlCreateTabItem("3") $TabSheet3 = GUICtrlCreateTabItem("4") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd This doesnt: Adding the style $WS_EX_TRANSPARENT to the main GUI seems to have been the problem CODE #include <GUIConstants.au3> #include <WindowsConstants.au3> #include <ProgressConstants.au3> #include <StaticConstants.au3> #include <ButtonConstants.au3> #Region ### START Koda GUI section ### Form=c:\documents and settings\work\desktop\koda_1.7.0.1(2)\forms\MyForm.kxf $Form1_1 = GUICreate("MyForm", 834, 517, 247, 190, -1) $Tab1 = GUICtrlCreateTab(0, 0, 825, 489) GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) $TabSheet1 = GUICtrlCreateTabItem("1") $TabSheet2 = GUICtrlCreateTabItem("2") $TabSheet6 = GUICtrlCreateTabItem("3") $TabSheet3 = GUICtrlCreateTabItem("4") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Thanks Valuater! Edited May 24, 2008 by Jrowe [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] Link to comment Share on other sites More sharing options...
Valuater Posted May 24, 2008 Share Posted May 24, 2008 Adding the style $WS_EX_TRANSPARENT to the main GUI seems to have been the problemNow that might be something that KODA can preventthx8) Link to comment Share on other sites More sharing options...
JRowe Posted May 24, 2008 Author Share Posted May 24, 2008 I think I actually did that myself, and that it's not a default setting. I'd been messing with the controls for quite a long time, trying to find out what the various buttons did. At any rate, Problem Solved! Pebcak, woohoo. [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] 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