Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!ispd-newsserver!kodak!uupsi!cci632!ritcsh!ultb!cms2839 From: cms2839@isc.rit.edu (a.stranger) Newsgroups: comp.windows.ms.programmer Subject: Re: LISTBOX Scroll Bars Keywords: listbox Message-ID: <1991May11.011355.10095@isc.rit.edu> Date: 11 May 91 01:13:55 GMT References: <1991May9.214639.4735@cbnewsj.att.com> Distribution: na Organization: RIoT Lines: 22 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. > with win3 , scroll bars only appear in listboxes when they are needed ; i.e. when the contents of the listbox are longer than the listboxes physical size . if a listbos starts out with only a few items , and later grows in size enough so that it needs scrollbars , they will appear if the programmer has specified them . likewise , they will disappear if the list grows shorter . -- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ "Imagination keeps the shadows away - Xymox @ @~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~@ @ a.stranger - CMS2839@ritvax.isc.rit.edu @