I feel like this should be something simple, but I can\'t seem to find out how to do this.
I have a list view control, and I would just like to be able to determine if t
Try this code, all .net, and only a 1 line function.
Private Function IsVerticalScrollVisible(ByVal lst As ListView) As Boolean
If lst.Items.Count > 0 Then _
If (lst.Items(0).Bounds.Top - lst.TopItem.Bounds.Top < 0) Or _
(lst.Items(lst.Items.Count - 1).Bounds.Bottom > lst.ClientSize.Height) _
Then Return True
End Function