How to get line size in CListCtrl?

Hello all,

In a CListCtrl-derived class, I need to find out how much a SB_LINELEFT or SB_LINERIGHT moves the view area within my OnHScroll handler. It appears to be about 4 or 5 pixels, but I'd like to get that metric instead of guessing. In the SCROLLINFO structure you can get the page size, but how do you get the line size?

I was looking for something similar to CListView::GetScrollSizes() but couldn't find anything for CListCtrl.

Thanks!
Topic archived. No new replies allowed.