CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    How to Sort Columns in List View -- Just like Windows Explorer

    Hi,

    I am using ListView Control.. I want to sort the listview on a particular column when user selects it. Is there any direct way of doing this.. And can I set colors to rows in a Listview control.. Like I have a situation where I want alternate colours to be displayed.. Is it possible

    Regards

    Surya Prakash


  2. #2
    Join Date
    Apr 1999
    Location
    Netherlands
    Posts
    181

    Re: How to Sort Columns in List View -- Just like Windows Explorer

    Set the sorted property to true and set the sortkey to the column number you want to sort on.

    Crazy D @ Work :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured