Guido Cresto
May 16th, 1999, 04:38 PM
What is LVS_SHOWSELALWAYS supposed to do?
I want to keep the currently selected item always highlighted in the ListView
When deleting an item, eg. click on it, then delete the selected item:
ie. lvwTest.ListItems.Remove lvwTest.SelectedItem.Index, the selected item is deleted, and the currently selected index will be set
automatically but not highlighted.
Is there also a way to keep the currently selected item highlighted when focus is off the listview? Setting HideSelection = False keeps the
item as grey (as opposed to blue) with std colours, when focus is off, but the original problem still applies.
Is there a really good book for VB/Win32 that helps with such things? I am also looking for a book that deals with passing arrays and structures
containing arrays and string arrays from VB > C and C > VB.
Thanks in advance for any replies....
I want to keep the currently selected item always highlighted in the ListView
When deleting an item, eg. click on it, then delete the selected item:
ie. lvwTest.ListItems.Remove lvwTest.SelectedItem.Index, the selected item is deleted, and the currently selected index will be set
automatically but not highlighted.
Is there also a way to keep the currently selected item highlighted when focus is off the listview? Setting HideSelection = False keeps the
item as grey (as opposed to blue) with std colours, when focus is off, but the original problem still applies.
Is there a really good book for VB/Win32 that helps with such things? I am also looking for a book that deals with passing arrays and structures
containing arrays and string arrays from VB > C and C > VB.
Thanks in advance for any replies....