Click to See Complete Forum and Search --> : Please help ! How to add horizontal scroll bar to a list box.
April 13th, 1999, 04:11 AM
Hello,
Can anyone tell me how to add a horizontal scroll bar to a list box in
my dialog.
Thank you very much.
David Chan
Karl
April 13th, 1999, 04:16 AM
Have a look on this site at http://www.codeguru.com/controls/listbox_extent.shtml
HTH
K.
Ash to ash and clay to clay, if the enemy doesn't get you, your own folk may.
yash
April 13th, 1999, 05:57 PM
Hi ,
Try
((CListBox *)GetDlgItem( IDC_MYLISTBOX))->SetHorizontalExtent( 1500 );
Good Luck.
Yash.
Todd Jeffreys
April 13th, 1999, 08:23 PM
Create it with the WS_HSCROLL window style
April 16th, 1999, 08:36 AM
Thank you
I have got the horizontal scroll bar to work usng SetHorizontalEx(.
David Chan
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.