On Sun, 17 Jun 2007 01:30:37 -0700, R <R@nospam.comwr ote:
I guess I may have to trim down that section of code to see where it
breaks.
Yes, that would be a good idea.
Tedious though.
Sometimes debugging is tedious, yes. Still, the very first thing to do
when using a third-party library (even .NET) is to make sure there's
nothing wrong with your own end of things, and one of the best ways to do
that is to simplify your scenario to the most basic elements.
At the very least, you will usually wind up figuring out what exactly
causes the third-party library to break (they do occasionally have bugs,
but usually not in the most obvious, well-used places), which can lead to
a good work-around. And frequently you'll discover that there's something
you've done specifically to cause the third-party library to "break",
revealing that the only thing that's broken is how the third-party library
is used by your own code. :)
So this is not something that's known? I
thought I had seen mention of something like this before.
Never heard of it. I would expect that the general case -- put a ListView
on a minimizable form, populate it, minimize it -- would obviously not be
broken, so the real question is what else are you doing that in
combination with those steps causes the ListView to wind up empty.
If and when you figure that out, please post back here, whether it's a bug
in your code or not. Even if it's a bug in your own code, it may well be
something that someone else might do accidently as well. Having the
solution here will help those people in the future. It's very unusual to
write a bug into code that no one else ever has, and never will, write
into their own code. :)
Pete