Jump to content

Recommended Posts

  • Administrators
Posted

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?


 

Posted

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 :)
  • Administrators
Posted

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


 

Posted

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?
  • Administrators
Posted

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.


 

  • Administrators
Posted

Yeah, he has to fight crime and there is that whole kryptonite thing...

:)

Being moaned at online and in real life at the mo. A wonderful combination... :)


 

  • 7 years later...
Posted

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.

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
×
×
  • Create New...