|
-
April 13th, 1999, 04:11 AM
#1
Please help ! How to add horizontal scroll bar to a list box.
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
-
April 13th, 1999, 04:16 AM
#2
Re: Please help ! How to add horizontal scroll bar to a list box.
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.
We're talking ****, 'cause life is a 'biz
You know it is
Everybody tryin' to get rich
God ****!
All I wanna do is live !
KoRn, Children of the Korn
-
April 13th, 1999, 05:57 PM
#3
Re: Please help ! How to add horizontal scroll bar to a list box.
Hi ,
Try
((CListBox *)GetDlgItem( IDC_MYLISTBOX))->SetHorizontalExtent( 1500 );
Good Luck.
Yash.
-
April 13th, 1999, 08:23 PM
#4
Re: Please help ! How to add horizontal scroll bar to a list box.
Create it with the WS_HSCROLL window style
-
April 16th, 1999, 08:36 AM
#5
Thank you all for helping ( David Chan )
Thank you
I have got the horizontal scroll bar to work usng SetHorizontalEx(.
David Chan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|