This looks like C# code, but my guess is that checkedListBox1->CheckedItems->Count is decremented when you remove each item. Start at checkedListBox1->CheckedItems->Count and go to 0.
Viggy
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: MrViggy Search: Search took 1.77 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |