Page 1 of 1
Custom sort of disks in drive combo box
Posted: 2011-09-22, 06:22 UTC
by cerberis
Is it possible to add functionality to sort drives using their physical location instead of drive letter? Similar behavior you can see in My Computer window: right mouse click->Group By->Type.
For example, I have few local disks (C, X, Y) and some always mapped network disks (I, J, K). It would be very feature to sort them in this order: (C, X, Y, I, J, K).
Posted: 2011-09-22, 13:40 UTC
by ghisler(Author)
Interesting idea, I will consider it.
Posted: 2011-09-22, 13:52 UTC
by MVV
I think simple parameter is enough that specify letters order:
CXYIJKABC.
TC may add non-specified letters to end of string alphabetically to get all 26. So, if parameter is not set, we will have old display order. Or if only single letter is specified, that drive will be displayed first.

and simple index array (or even pair of index arrays - to get letter from index and back) will allow to draw and process buttons.
Posted: 2011-09-22, 14:00 UTC
by Vochomurka
2
cerberis
The
TWinKey plugin can at least partially solve this problem. On the "Drive List" page two orders of drives can be set: "Alphabetic" and "Categorized". The latter one means: hard disks first, then removable, then CD-ROMs, and finally network ones.
Posted: 2011-09-22, 14:21 UTC
by cerberis
MVV wrote:I think simple parameter is enough that specify letters order:
CXYIJKABC.
TC may add non-specified letters to end of string alphabetically to get all 26. So, if parameter is not set, we will have old display order. Or if only single letter is specified, that drive will be displayed first.

and simple index array (or even pair of index arrays - to get letter from index and back) will allow to draw and process buttons.
I think, from user perspective easiest way would be to select grouping type: Normal, By Type.. or smth. without writing exact order..
Anyway it can change when for example usb flash drive is connected.
Posted: 2011-09-22, 14:23 UTC
by cerberis
Vochomurka wrote:2
cerberis
The
TWinKey plugin can at least partially solve this problem. On the "Drive List" page two orders of drives can be set: "Alphabetic" and "Categorized". The latter one means: hard disks first, then removable, then CD-ROMs, and finally network ones.
Currently I am using TC 8 x64, so currently not a solution. But thanks for hint.