home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / mswindo / programm / misc / 4279 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.8 KB  |  41 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer
  2. Path: sparky!uunet!infonode!ingr!b23a!web!wolf
  3. From: wolf@web.b15.ingr.com (Wayne Wolf)
  4. Subject: Query: Listbox, how to have horiz scroll but suppress vert scroll.
  5. Message-ID: <1992Dec16.183940.12902@b23a.b23a.ingr.com>
  6. Keywords: Listbox, Scrollbars
  7. Sender: wolf@web (Wayne Wolf)
  8. Organization: Intergraph Corporation
  9. Date: Wed, 16 Dec 1992 18:39:40 GMT
  10. Lines: 29
  11.  
  12.  
  13.  
  14. Fellow Windows controls hackers...  I needa somea guidance
  15.  
  16. I am trying to create a poor-man's multicolumn gadget in windows without 
  17. having to resort to too much custom control business.  To do this, I
  18. am sticking listboxes side by side, making the rightmost listbox vertscroll.
  19. This works great and everything plays in tandem.  However, the problem
  20. is that I need also horizontal scrolling in each field of the multi-column
  21. gadget.  This works like a charm also, except that when a listbox is declared
  22. horizontal scroll, it by default becomes vertical scroll as well.  The
  23. bugger with this is that those darned vertical scrollbars now pop-up on the
  24. other listboxes instead of just the rightmost one.  VERY UGLY.  
  25.  
  26. My question here is, does anyone have any thoughts on how to solve this,
  27. still using listboxes instead of custom controls?  Ideally, I would
  28. like a way to just tell the listbox not to display its vertical scrollbar
  29. at any time, but as far as I can tell, there is no support for this 
  30. functionality (anytime the box overfills, a scrollbar automagically pops
  31. up, no ifs-ands-buts).  I realize the listbox's capability for multiple 
  32. columns, but the functionality of this is much too limiting.
  33.  
  34. Of course, if anyone is willing to share code/design for a custom control
  35. for a multicolumn gadget, this would be even better. :-)
  36.  
  37. ..
  38.  
  39. Wayne Wolf
  40. wolf@web.b15.ingr.com
  41.