On 28 Mar 2005 01:05:23 -0800, "yer darn tootin"
<(E-Mail Removed)> wrote:
>
>looking for any suggestions on how to approach building functionality
>to allow users to select their preferred columns for viewing in a
>ListView control. The idea is similiar to how Windows Explorer works,
>right click to select/deselect which columns are shown in the rh pane
>listview. For me, I'd like the user preferences to be stored to xml
>file and re-loaded when app starts.
>( Not sure how Explorer achieves this )
>
>any tips, code examples welcome..
Take a look at
http://www.codeproject.com/csharp/Listview.asp
I used roughly the approach given in this article, which is basically
to have a collection of your own column header objects and serialise
the collection to XML, the only issues are getting the column order
and column width of moved resized columns, but that is explained in
the article.
Doug Taylor
>
>Thank you,
>Bob.