Sign in to follow this  
Followers 0
Jon

ControlListView

9 posts in this topic

I'm probably going to move out the listview functions from ControlCommand into a seperate function the next time I work on it (getting a bit cluttered in there). That ok with everyone?

Share this post


Link to post
Share on other sites



Sounds good to me, but please add functionality for the treeviews.


Who else would I be?

Share this post


Link to post
Share on other sites

I'm probably going to move out the listview functions from ControlCommand into a seperate function the next time I work on it (getting a bit cluttered in there).  That ok with everyone?

<{POST_SNAPBACK}>

I am OK specially if it help GUI listview integration :)

Share this post


Link to post
Share on other sites

I've updated the unstable and moved the ListView stuff from out of ControlCommand and into ControlListView

Commands are the same as they where before but without the LV_ prefix

FindItem

GetItemCount

GetSubItemCount

GetText

GetSelectedCount

IsSelected

SelectAll

SelectClear

Select

DeSelect

GetSelected

FindItem is the new bonus command :)

"FindItem", "search string", subitem to search

I considered calling them rows/columns rather than items/subitems but I though it may be confusing when working in tile/icon/list mode. If everyone is happy with the naming of the commands then I may even finally do a doc page for them. The only one I was unsure of was whether to call SelectClear DeselectAll instead.

Add requests for other ListView commands to this thread, some i can think of are:

SelectInvert

ViewChange

Sort

Share this post


Link to post
Share on other sites

I like viewchange and sort. Is there any support besides me for treeviews? It seems like a natural extension to me.


Who else would I be?

Share this post


Link to post
Share on other sites

I like viewchange and sort. Is there any support besides me for treeviews? It seems like a natural extension to me.

Yes, treeviews is still on the todo list as it always has been - it's way more tricky though and i've limited time.

Share this post


Link to post
Share on other sites

Find much meat to fuck on this corpse?

The answer is no. We're not going to break 8 years of code when you can write your own wrapper function in 3 lines to provide the same behavior.

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