|
-
Feb 11th, 2003, 11:38 PM
#1
Thread Starter
Lively Member
How to filter text in a listbox when typing a text box..
Hi Guys,
I need to know how to filter text in a list box, when I type in a Text Box. (In simple how to mimic the Search/Jump to Song Window in Winamp). I used the SendMessage API. But I can't filter or find more than result in a list box. Please help me ! How should I do this, what are the codings If any ? Thnx in advance.
Stop Piracy. Stop Using Microsoft.
-
Feb 12th, 2003, 05:14 AM
#2
Hyperactive Member
U mean, when u press 'E' in the textbox the listbox will jump to 'Eminem', and when u hit 'E' again it will jump to 'Eric Clapton'?
Or isn't that where u are looking for?
There's a certain mystique when I speak, that you notice that it's sorta unique, cause you know it's me
-
Feb 16th, 2003, 04:38 AM
#3
Thread Starter
Lively Member
Extactly...
Hi Phrozeman,
Exactly you're right. But consider this situation. Suppose there are 100 entires. Consider There are entries named Austria, Australia, Alabama, Anaconda, America, Africa, Bangkok, Bangladesh, Berlin, Bermuda, etc., When you type 'A' in the Text Box, Only the entries starting with 'A' namely Austria, Australia, Alabama, Anaconda, America & Africa should be listed in the List box. Others namely Bangkok, Bangladesh, Berlin, Bermuda, etc., should be removed. Then you still type 'u' only the corresponding matching entries should be existing. Your code will find the match for the string, but I want to know how the remove/Filter the things from the List Box. Anyway thnx for your reply.
Stop Piracy. Stop Using Microsoft.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|