andygo Posted September 22, 2009 Share Posted September 22, 2009 (edited) hello,first screenie is if the gui has no ontop-prioroty:following one is the gui WITH ontop-priority and i click my combo:how to fix it?thx Edited September 22, 2009 by andygo Link to comment Share on other sites More sharing options...
martin Posted September 22, 2009 Share Posted September 22, 2009 Seems a strange effect. Have you set any unusual styles like $WS_EX_COMPOSITED which can affect the order in which components are drawn? Maybe you could try making sure that the components which are drawn over the top of the drop down list have the style $WS_CLIPSIBLINGS and are created after the combo. Can you supply some code which reproduces the effect? 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...
andygo Posted September 22, 2009 Author Share Posted September 22, 2009 hello, ok this is my creation-code: $maingui = GuiCreate("DVB Shotter 5.45", 410, 155) GUISetOnEvent($GUI_EVENT_CLOSE, "_Quit") GUICtrlCreateCombo ("org", 175, 97, 42, 14, $CBS_DROPDOWNLIST) GUICtrlSetData(-1,"40|80|160|240|320|480|640|800|K24", "org") with this function, i set the windows ontop: Func _ontop() Switch $top Case 0 WinSetOnTop ( "DVB Shotter 5.45", "+ Original:", 1 ) $top = 1 Case 1 WinSetOnTop ( "DVB Shotter 5.45", "+ Original:", 0 ) $top = 0 EndSwitch EndFunc Link to comment Share on other sites More sharing options...
martin Posted September 22, 2009 Share Posted September 22, 2009 hello, ok this is my creation-code: $maingui = GuiCreate("DVB Shotter 5.45", 410, 155) GUISetOnEvent($GUI_EVENT_CLOSE, "_Quit") GUICtrlCreateCombo ("org", 175, 97, 42, 14, $CBS_DROPDOWNLIST) GUICtrlSetData(-1,"40|80|160|240|320|480|640|800|K24", "org") with this function, i set the windows ontop: Func _ontop() Switch $top Case 0 WinSetOnTop ( "DVB Shotter 5.45", "+ Original:", 1 ) $top = 1 Case 1 WinSetOnTop ( "DVB Shotter 5.45", "+ Original:", 0 ) $top = 0 EndSwitch EndFunc I don't see anything wrong with that, but I can't run it and it doesn't show the controls which are drawn on top of the drop down list. Can you supply some code which reproduces the effect? 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...
andygo Posted September 22, 2009 Author Share Posted September 22, 2009 (edited) ok, i attached a test.script.when you start it, on the first gui just clickthe bottomcentered button (dont need do anything else):second screen, just click "setup":in setup, just hook the bottom-left checkbox. bottomright-buttonto switch back to main-gui:then you could reproduce the effect.....additional information:i am running win7 #64bittest.au3 Edited September 22, 2009 by andygo Link to comment Share on other sites More sharing options...
andygo Posted September 22, 2009 Author Share Posted September 22, 2009 before you test, look at the line 423: FileInstall("dvb-shotter.cfg", $precfg, 1) this could be a emty file. just create a txt file and rename it. Link to comment Share on other sites More sharing options...
andygo Posted September 25, 2009 Author Share Posted September 25, 2009 SOLVED:not the problem itself, but just changed the combo with apopup-gui: 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