Jump to content

combo-dropdown "behind" gui...


andygo
 Share

Recommended Posts

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

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

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

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...