Re: Listview deselect all

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hey Tom,

Thanx... works great...
What would I do without you ... ?

John


"Tom Shelton" <tom@xxxxxxxxxxx> schreef in bericht
news:1156884795.813969.90520@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

John Devlon wrote:
Hello,

Does anyone know how to deselect all items in a listview ?

Thanx

John

ListView.SelectedItems.Clear ()

HTH,

--
Tom Shelton



.



Relevant Pages

  • Re: Listview deselect all
    ... John Devlon wrote: ... Does anyone know how to deselect all items in a listview? ... Tom Shelton ...
    (microsoft.public.dotnet.languages.vb)
  • Re: listview deselects items after notify
    ... this "bug" is present even in a dummy program (look at ... I have a listview control, and code in the main window ... Also, when it "deselect", does it send a WM_NOTIFY? ...
    (microsoft.public.win32.programmer.ui)