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?
>
> DIScussion wrote:
> >
> > Add
> > WS_VSCROLL
> > like
> > -style => WS_VISIBLE | 3 | WS_NOTIFY | WS_VSCROLL
> >
> > Lad.
> >
> > > How do I add a scrollbar to a drop-down combobox (-style => WS_VISIBLE |
> > > 2 | WS_NOTIFY) ? Seems it's not as simple as to AddSlider() :P
> > > -Ludde