Filtering a clistctrl

Is there any built in capacity for filtering items in a clistctrl?  I don't want to start from scratch if I don't have to..
applebyAsked:
Who is Participating?
 
Answers2000Connect With a Mentor Commented:
>> Ok, thank you.  Do you want to officially post as an answer for the points?
0
 
Answers2000Commented:
Ans. No

There is a FindItem, but that's next to useless

If you are getting the items from a DB, some Data-aware activeX controls have this facility
0
 
applebyAuthor Commented:
Ok, thank you.  Do you want to officially post as an answer for the points?
0
 
The_BrainCommented:
how do you want to filter it?
I could write a little filter for you if you want one.
0
 
applebyAuthor Commented:
I just want to be able to use * and ? as wildcards and treat any other characters as literal whatever they are.  Any item in the list whose text matches the filter stays. So what I need is the part that compares a string to a filter string and says yes or no.
(ex: if filter is sp*.??? then string spoil.exe would match but spoil.cc wouldn't)

If you want, go for it but I'm not really willing to up the points because I can do this myself no problem - just wasn't going to waste the code if there were a way to do the comparison easier.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.