Horizontal scroll for CListBox.
-
Hi. There is trouble with List box (CListBox in MFC). I'm need horizontal scroll on CListBox object. There is checkbox "Horizontal scroll" in properties of list box. I turn it on, but scroll doesn't appear. Is there way to create list box with horizontal scroll bar? Is't possible? Every information will be very valuable.
-
Hi. There is trouble with List box (CListBox in MFC). I'm need horizontal scroll on CListBox object. There is checkbox "Horizontal scroll" in properties of list box. I turn it on, but scroll doesn't appear. Is there way to create list box with horizontal scroll bar? Is't possible? Every information will be very valuable.
Jackson86 wrote:
I turn it on, but scroll doesn't appear.
Because the horizontal extent has not been set. BTW, your other, newer, post should be deleted.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
Hi. There is trouble with List box (CListBox in MFC). I'm need horizontal scroll on CListBox object. There is checkbox "Horizontal scroll" in properties of list box. I turn it on, but scroll doesn't appear. Is there way to create list box with horizontal scroll bar? Is't possible? Every information will be very valuable.
If the number of columns * width of the columns is not bigger than the width of the ListCtrl... your scrollbar won't appear
Greetings. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson