M
Michael.Suarez
Is it me, or does it seem like they put no effort into creating the
listview control in .Net.
A few gripes I have with .Net listview that aren't present in vb6:
-Inability to set tooltiptext of subitems (without the use of a very
inconveniant work around).
-Inability to display images in subitems (without using the windows api
to get the extended listview.... I'm in .NET!!!!... why do i have to
use windows API for something so easily done in vb6!?!)
-Loading large listviews takes MUCH longer in .NET than it does in vb6.
Therefore I have no chioce but to use virtualmode.
But virtual listviews have their own set of problems:
-Can't use extended listview to assign images to subitems when in
virtual mode (or at least I haven't figured out how).
-Suppose I have a listviewitem selected on a very large listview.
Something changes and I need to refresh the listview, but i immediately
want to re-select that same item. When not in virtual mode, this is
very simple... but when in virtual mode, how do you do this? I have
this crazy workaround to do it, but it is by no means a quality
solution.
Lets also not forget what i pain it is now to sort a column compared to
what it used to be.
If anyone has any suggestions, explanations of why the .net listview
blows so much, links to good articles, or 3rd party listviews that
address these issues, I would be very interested in some feedback.
Thanks,
Mike
listview control in .Net.
listview.From what i can see, it is actually LESS powerful than the vb6
A few gripes I have with .Net listview that aren't present in vb6:
-Inability to set tooltiptext of subitems (without the use of a very
inconveniant work around).
-Inability to display images in subitems (without using the windows api
to get the extended listview.... I'm in .NET!!!!... why do i have to
use windows API for something so easily done in vb6!?!)
-Loading large listviews takes MUCH longer in .NET than it does in vb6.
Therefore I have no chioce but to use virtualmode.
But virtual listviews have their own set of problems:
-Can't use extended listview to assign images to subitems when in
virtual mode (or at least I haven't figured out how).
-Suppose I have a listviewitem selected on a very large listview.
Something changes and I need to refresh the listview, but i immediately
want to re-select that same item. When not in virtual mode, this is
very simple... but when in virtual mode, how do you do this? I have
this crazy workaround to do it, but it is by no means a quality
solution.
Lets also not forget what i pain it is now to sort a column compared to
what it used to be.
If anyone has any suggestions, explanations of why the .net listview
blows so much, links to good articles, or 3rd party listviews that
address these issues, I would be very interested in some feedback.
Thanks,
Mike