CListCtrl smooth scroll and touch-behavior?
Hi
Does anyone have experience of making the CListCtrl function like listview on eg Android/iPhones?
I managed to get the smoothscroll for CListCtrl to work pretty good, but I'm challenged with the other touch parts, animation etc...
Are there any available controls out there I could use instead?
Re: CListCtrl smooth scroll and touch-behavior?
As a non-adroid/iPhone user... do you have a example of what the android/iPhone listcontrol looks like ?
Re: CListCtrl smooth scroll and touch-behavior?
The windows listcontrol is smooth scrolling in almost every mode, except for report mode which is "line mode" appearance.
I'm guessing you want something like the tile interface and are simulating this with "icon view" in the listcontrol ?
I don't own an android or iphone so don't know all the details of it, but typically, ADDING animation or behaviour to windows controls tends to be hard to impossible. You can sometimes "fake" what you need by other means however. Without more details on what you want to achieve, not much I can do to help either.
If you really have very specific needs, then usually creating your own control is going to be the easier path long term.
Re: CListCtrl smooth scroll and touch-behavior?
Thanks for replies guys...
I was getting frustrated that why I wrote the post ;)
My solution was to use the customdraw effect of the ClistCtrl to achive the smoothscroll for report-view.
Then I got reply from the customer that they are going to use W7 and a touchscreen that is W7 compliant.
In that case I could use the new CStroke-class: http://channel9.msdn.com/Learn/Cours...ws7/Multitouch
Worked pretty well after some tweaking :)
+ I got to use my own "hack" to get rid of the scrollbars, hehe: http://lars.werner.no/?page_id=24
Edit:
Check out this video for the effect:
http://www.youtube.com/watch?v=Ij-76GVAmgc
Around 1:00 minute (in the settings tab)