Sign in to follow this  
Followers 0
dazza

Listview - scrolling down to the selected item

3 posts in this topic

I'm being thick...

I've trawled through the UDFs and I can't find a way to scroll in a listview to show the selected item.

;)

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Try the $LVS_SHOWSELALWAYS style to enable the behavior all the time, or _GUICtrlListView_EnsureVisible to scroll to the selected specified item when called.

Edit: It goes to the item with the specified index.

Edited by Tvern
1 person likes this

Share this post


Link to post
Share on other sites

Brilliant!

I will remember that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0