• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 348
  • Last Modified:

HScroll in a ListBox

How do I add a horizontal Scroll bar to a listbox on a Dialog Box.
0
trip42
Asked:
trip42
1 Solution
 
_Scotch_Commented:
Are you doing this with the resource editor ??  If so just right
click inside your listbox and select properties.  Then click on
the styles tab and select "horizontal scroll" and if you want it
visible even when not needed select "disable noscroll"...

If you're doing this by hand with window styles make sure your
window has the WS_HSCROLL style and possibly LBS_DISABLENOSCROLL
if you want that scroll bar visible at all times.
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

Tackle projects and never again get stuck behind a technical roadblock.
Join Now