Newsgroups: comp.windows.ms.programmer Path: utzoo!utgpu!watserv1!watmath!hyper.hyper.com!bonneau From: bonneau@hyper.hyper.com (Paul Bonneau) Subject: Re: LISTBOX Scroll Bars Message-ID: <1991May10.172326.8443@hyper.hyper.com> Keywords: listbox Reply-To: bonneau@hyper.UUCP (Paul Bonneau,,) Organization: HyperCube Inc. References: <1991May9.214639.4735@cbnewsj.att.com> Distribution: na Date: Fri, 10 May 1991 17:23:26 GMT In article <1991May9.214639.4735@cbnewsj.att.com> lk@cbnewsj.att.com (lisa.a.krauth) writes: > >Sorry if this question has been already asked and answered - I have >not kept up with this newsgroup as of late. Does anyone know why >the scroll bars on my listboxes disappeared when I upgraded my Windows >2.1 application with the 3.0 SDK? Is there a new way to set up scroll >bars in a listbox. I had previously used the WS_VSCROLL style type >with the definition of listbox in the resource file. It worked it >version 2.1. Any insight on this would be greatly appreciated. Thanks. > > Lisa Krauth > att!lzatt!lak Hi, The problem may be that the behaviour of ScrollBars in ListBoxes has changed in version 3.0. If the entries fit in the visible portion of the list, no scrollbar is shown. This is done dynamically as the list shrinks and grows (assuming you program causes it to do so). cheers - Paul Bonneau.