Req tcmatch.dll: select file when filtering

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Req tcmatch.dll: select file when filtering

Post by *Samuel »

The (external) QuickFilter could be improved if files would be categorized into 3 groups instead of 2. The third group would be a "premium" match.

Code: Select all

int __stdcall MatchFileW(WCHAR* wcFilter,WCHAR* wcFilename)
I would suggest to interpret the return value (int) like this:

Code: Select all

0 - dont show this item
1 - show this item
2 - show this "premium" item and select it (if nothing previously was selected)
So you could jump to files starting with "t" also if you didn't select match beginning.

Filelist:
attribute.doc
bell.wav
dog.txt
final.tex
hit.wav
kilt.jpg
melody.mp3
total commander.exe
touchpad.jpg
water.jpg
zell.xls
Filter for "t" without premium matches:
attribute.doc (selected)
dog.txt
final.tex
hit.wav
kilt.jpg
total commander.exe
touchpad.jpg
water.jpg
Filter for "t" with premium matches:
attribute.doc
dog.txt
final.tex
hit.wav
kilt.jpg
total commander.exe (selected)
touchpad.jpg
water.jpg
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

2Christian:
I think this is a useful small addition, that would need fewer keys than before.
Wouldnt it be easy to implement?
Post Reply