Sign in to follow this  
Followers 0
andygo

combo-dropdown "behind" gui...

7 posts in this topic

#1 ·  Posted (edited)

hello,

first screenie is if the gui has no ontop-prioroty:

Posted Image

following one is the gui WITH ontop-priority and i click my combo:

Posted Image

how to fix it?

thx :D

Edited by andygo

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

ok, i attached a test.script.

when you start it, on the first gui just click

the bottomcentered button (dont need do anything else):

Posted Image

second screen, just click "setup":

Posted Image

in setup, just hook the bottom-left checkbox. bottomright-button

to switch back to main-gui:

Posted Image

then you could reproduce the effect.....

additional information:

i am running win7 #64bit

test.au3

Edited by andygo

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

SOLVED:

not the problem itself, but just changed the combo with a

popup-gui:

Posted Image

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0