L
Lloyd Sheen
I have an application which will scan various folder for files. Each folder
scan will be in it's own thread. The thread iterates the folder and creates
a ListViewItem with various pieces of information about the files found.
The file name and folder name are separated into two subitems and well as
other information.
When the folder is finished scanning it will then raise an event and pass an
ArrayList of ListViewItems. The GUI will then append those items to the
appropriate ListView.
The problem is that when adding the items the display of listview items the
FileName which is subitem (0) is always visible but not all subitems are
visible. This is a seemly random problem. I know that the FolderName is in
its subitem since a context menu will cause actions on the items and needs
both the foldername and filename to perform the action.
Any ideas?
Lloyd Sheen
scan will be in it's own thread. The thread iterates the folder and creates
a ListViewItem with various pieces of information about the files found.
The file name and folder name are separated into two subitems and well as
other information.
When the folder is finished scanning it will then raise an event and pass an
ArrayList of ListViewItems. The GUI will then append those items to the
appropriate ListView.
The problem is that when adding the items the display of listview items the
FileName which is subitem (0) is always visible but not all subitems are
visible. This is a seemly random problem. I know that the FolderName is in
its subitem since a context menu will cause actions on the items and needs
both the foldername and filename to perform the action.
Any ideas?
Lloyd Sheen