How can I scroll (or simulate a scroll) in a CListCtrl without scrollbar??
I don't want scrollbar to be seen even if CListCtrl is not big enough to display all items. All items are vertically oriented, i.e.:
Item 1
Item 2
Item N
Thank in advance
Printable View
How can I scroll (or simulate a scroll) in a CListCtrl without scrollbar??
I don't want scrollbar to be seen even if CListCtrl is not big enough to display all items. All items are vertically oriented, i.e.:
Item 1
Item 2
Item N
Thank in advance
I've come up against this problem and I found the easiest (not the
cleanest!) method of scrolling one item at a time is by storing a
"master" and a "display" list of items. When you come to display
the items, copy items (from master list using top "index") into the
display list:
Scroll Down:- remove the top item on the "display" list.
Scroll Up:- insert the item from the "master" list into the
top slot and set the top index.
Yes, I know it's not very clean, but it works quite well in
practise. I hope this helps,
Alan.
ok, till now it seems to be the only solution.
Thank you very much.
Ferruccio