CListCtrl Scrollpos

I'm having a problem with CListCtrl. The thing is that GetScrollBarCtrl member function returns NULL and I have no way to determine the horizontal scollposition. Is there anybody here that can help me out?
Who is Participating?
migelConnect With a Mentor Commented:
GetScrollBarCtrl will always return NULL for such controls since they use "WINDOW style" scrollbars, not native controls.
Try use m_wndMyListControl.GetScrollPos(SB_HORZ);
where m_wndMyListControl is your listcontrol.
huxunAuthor Commented:
Yeah ... that returns some strange numbers, at least it isn't pixels. I found out that using GetItemPosition works fine for me.

Don't know what to do with the points here. Any suggestions?
50% ?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.