🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #1956

Query: Listbox, how to have horiz scroll but suppress vert scroll.

#1956
From: Wayne Wolf
Date: Wed, 16 Dec 1992 18:39
29 lines
1858 bytes

Fellow Windows controls hackers...  I needa somea guidance

I am trying to create a poor-man's multicolumn gadget in windows without 
having to resort to too much custom control business.  To do this, I
am sticking listboxes side by side, making the rightmost listbox vertscroll.
This works great and everything plays in tandem.  However, the problem
is that I need also horizontal scrolling in each field of the multi-column
gadget.  This works like a charm also, except that when a listbox is declared
horizontal scroll, it by default becomes vertical scroll as well.  The
bugger with this is that those darned vertical scrollbars now pop-up on the
other listboxes instead of just the rightmost one.  VERY UGLY.  

My question here is, does anyone have any thoughts on how to solve this,
still using listboxes instead of custom controls?  Ideally, I would
like a way to just tell the listbox not to display its vertical scrollbar
at any time, but as far as I can tell, there is no support for this 
functionality (anytime the box overfills, a scrollbar automagically pops
up, no ifs-ands-buts).  I realize the listbox's capability for multiple 
columns, but the functionality of this is much too limiting.

Of course, if anyone is willing to share code/design for a custom control
for a multicolumn gadget, this would be even better. :-)

..

Wayne Wolf
wolf@web.b15.ingr.com
Technical Details
Message-ID: <1992Dec16.183940.12902@b23a.b23a.ingr.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!infonode!ingr!b23a!web!wolf

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!infonode!ingr!b23a!web!wolf
From: wolf@web.b15.ingr.com (Wayne Wolf)
Subject: Query: Listbox, how to have horiz scroll but suppress vert scroll.
Message-ID: <1992Dec16.183940.12902@b23a.b23a.ingr.com>
Keywords: Listbox, Scrollbars
Sender: wolf@web (Wayne Wolf)
Organization: Intergraph Corporation
Date: Wed, 16 Dec 1992 18:39:40 GMT
Lines: 29