Solved

Filtering a clistctrl

Posted on 1999-01-21
5
684 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 8

Expert Comment

by:Answers2000
ID: 1328130
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
ID: 1328131
Ok, thank you.  Do you want to officially post as an answer for the points?
0
 
LVL 1

Expert Comment

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

Author Comment

by:appleby
ID: 1328133
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
ID: 1328134
>> Ok, thank you.  Do you want to officially post as an answer for the points?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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 is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

617 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