|
FolderBrowser
The FolderBrowser class implements a convenient and easy to use wrapper for the folder browser Win32 Shell API.
The file system directory that contains files and folders that appear on the desktop for all users.
A typical path is C:Documents and SettingsAll UsersDesktop.
Folder browser with desktop as the start location and BrowseForEverything style
The folder browser will not include network folders below the domain level in the dialog box's tree view control, or allow navigation to network locations outside of the domain.
Folder browser with desktop as the start location and RestrictToDomain style
The folder browser will only return local file system directories. If the user selects folders that are not part of the local file system, the OK button is grayed.
Folder browser with desktop as the start location and RestrictToFileSystem style
Uses MakeNewFolder button.
Creating a new folder under the C directory
The file system directory that contains the templates that are available to all users. A typical path is C:Documents and SettingsAll UsersTemplates.
Showing the templates
The folder browser includes a TextBox control in the browse dialog box that allows the user to type the name of an item.
The TextBox is capable of AutoCompleting the text entered.
New style dialog with TextBox
The file system directory that serves as a common repository for favorite items common to all users.
Showing All the folders under Favorites
You can navigate to the particular link in a browser by clicking on the contextmenu under right click and selecting open as shown below.
Showing Folders favourites with AllowUrls style
FolderBrowser with SelectLocation specified
This is specified at the top of the tree control in Folder Browser dialog.
Custom description
|