Jump to content

Not really a bug, Disabled Combo


Recommended Posts

When you disable a combobox in a gui with bgcolor, the bgcolor will apear in the combobox, not cool... thought if this could be solved.. ?

<{POST_SNAPBACK}>

I saw that and

I suppose it is the way Windows work for this control. :(

Link to comment
Share on other sites

Somwhat related: If you use CBS_DROPDOWNLIST style, the GUI background color shows in the combo box....

;;; Note that CBS_DROPDOWNLIST = 0x3

#include <GuiConstants.au3>
GuiCreate("MyGUI", 300, 200, -1, -1, BitOr($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))
GuiSetBkColor(0xFF0000)

GuiCtrlCreateButton("button", 10, 90, 90, 100)
GuiCtrlCreateCombo("", 10, 10, 150, 21, 0x3)
GuiCtrlSetData(-1,"A|B|C|D|E|F|G", "A")

GuiSetState()
While GuiGetMsg() <> $GUI_EVENT_CLOSE
WEnd
Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

  • 2 weeks later...

No news about problem with CBS_DROPDOWNLIST?

Btw this prob not only with CBS_DROPDOWNLIST, even without it combo control in beta have one pixel rectangle with background color. I not found any info what was changed with combo in beta... It works fine in release, but have this problem in beta (most old tried 3.1.0.15H).

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...