It seems I have tried most combinations of nubmers and styles now, and I
still get that gray, disabled-looking color on the text when the
dropdown box is first clicked. Of course it's no big deal, but does
anyone have a clue what makes it do that? Perhaps someone who is more
into Win32-programming?
-Ludde
Rob Rogers wrote:
>
> I actually have no idea what the number in there means, but in my
> programs with scroll bars I use 2. I have no idea why the person
> respondng to you changed it to a 3. I also had a problem when I used
> WS_NOTIFY. I seemed to get a few errors, and my scripts work without it,
> so I now do dropdown comboboxes as "-style => WS_VISIBLE | 2 |
> WS_VSCROLL". That seems to work just fine for me
>
> Ludde wrote:
> >
> > Thanks, this seems to work. There is a tiny comsmetic error though, and
> > that is that all the items in the combobox are gray, just as if they
> > were disabled. As soon as you start scrolling they turn into ordinary
> > black. Is this due to a bug in Win32::GUI or do I need another style?