Quote Originally Posted by AlexanderBB View Post
I'm still trying to figure it all out. I think now you're right except I didn't expect a scroll bar.
So, to better describe the scenario. When the LV has exactly 8 items (or whatever number the LV is sized to), you don't want the scrollbar? Understandable.

Since that wasn't explained, my routine in post #9 is not guaranteed to do that. Why? Well, the LV is probably using a pixel around the header (2 total), then another between each listitem (7 more). That equates to 9 pixels or 135 twips. The 135 twips can be hardcoded but only if it behaves that way every time, regardless of font, DPI, etc. Otherwise, more calculations are needed in order to discover those offsets.