Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpfcso!hpfinote!pnl From: pnl@hpfinote.HP.COM (Peter Lim) Newsgroups: comp.windows.ms Subject: Re: How do you get a horizontal scrollbar in a listbox? Message-ID: <18950022@hpfinote.HP.COM> Date: 13 Sep 90 22:30:21 GMT References: <422@trident.logm.se> Organization: Hewlett Packard CICD Lines: 24 > > When I create the listbox I set the window style to > WS_CHILD | WS_VISIBLE | LBS_NOTIFY | WS_VSCROLL | WS_HSCROLL . > > It seems that WS_HSCROLL has no effect. The SDK documentation > says it should be possible. Any clues? > In my limited MS Windows SDK knowledge, I think Windows will automatically hide the horizontal scroll bar until you have a line of text or graphics which is wider than the window width. So, you code could be working all along. May be try to manual size your window to very narrow and see if the horizontal scroll bar appear. Regards, ## Life is fast enough as it is ........ Peter Lim. ## .... DON'T PUSH IT !! >>>-------, ########################################### : E-mail: plim@hpsgwg.HP.COM Snail-mail: Hewlett Packard Singapore, : Tel: (065)-279-2289 (ICDS, ICS) | Telnet: 520-2289 1150 Depot Road, __\@/__ ... also at: pnl@hpfipnl.HP.COM Singapore 0410. SPLAT ! #include