Solved

Filtering a clistctrl

Posted on 1999-01-21
5
609 Views
Last Modified: 2013-11-20
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..
0
Comment
Question by:appleby
  • 2
  • 2
5 Comments
 
LVL 8

Expert Comment

by:Answers2000
Comment Utility
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
 

Author Comment

by:appleby
Comment Utility
Ok, thank you.  Do you want to officially post as an answer for the points?
0
 
LVL 1

Expert Comment

by:The_Brain
Comment Utility
how do you want to filter it?
I could write a little filter for you if you want one.
0
 

Author Comment

by:appleby
Comment Utility
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
 
LVL 8

Accepted Solution

by:
Answers2000 earned 50 total points
Comment Utility
>> Ok, thank you.  Do you want to officially post as an answer for the points?
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
method notes when mouse over in eclipse 5 67
Doc'in system (example?) BA 7 78
sumHeights2  challenge 7 75
mapBully challenge 6 88
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now