Page 1 of 1

DrivesOnly

Posted: 04 May 2005, 22:34
by SailorCM
GERMAN:
Hi!

Ich wollte eine Laufwerksliste anzeigen, doch leider wird bei einem klick auf das Laufwerk trotz aktivierung von "DrivesOnly" der Inhalt des Laufwerks angezeigt... Wenn ich die Anzeige von "FS-Folders" deaktiviere, verschwinden leider auch die Laufwerke :/

ENGLISH:
Hi!

I whould like to display a drivelist, but clicking n a drive will show the content of them.. i activated "DrivesOnly".. but it doesnt seem to work...
If a deactivate the displaying of "FS-Folders", the drives are not longer visible

Posted: 05 May 2005, 02:34
by TiKu
GERMAN:

Beides ist gewollt. DrivesOnly wurde eingeführt, um Items wie "Systemsteuerung" herauszufiltern.
Das von Dir gewünschte Verhalten lässt sich aber mit einem kleinen Trick erreichen: Setze einfach im Event ItemExpanding den Parameter Cancel auf True.

ENGLISH:

Both is the expected behavior. DrivesOnly was introduced to filter out items like "Control Panel".
But the behavior you expected can be achieved by a small trick: Just set the Cancel parameter in the ItemExpanding event to True.

Posted: 05 May 2005, 09:02
by SailorCM
GERMAN:
Danke für die schnelle Antwort :) Inzw. hab ich noch eine weitere Möglichkeit gefunden... DrivesOnly+FS-Folders+UseFolderFilters(?:\|\\*\)

ENGLISH:
Thank you for the fast answer :) I found another way: DrivesOnly+FS-Folders+UseFolderFilters(?:\|\\*\)