Dismiss Notice



1 MONTH VIP - 5$; 3 MONTHS VIP - 10$; 6 MONTHS VIP - 20$; 1 YEAR VIP - 30$; 2 YEARS VIP - 50$; GOLD USER FOR LIFE VIP - 150$


Dismiss Notice
The registration is approved by the Administrator. It takes about 1 day to approve your registration
Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

Shell Folders Unit

Discussion in 'Delphi Components' started by AdminDF, Mar 26, 2014.

  1. AdminDF

    AdminDFAdminDF is a Verified Member DelphiFan Administrator Staff Member DF Staff

    This unit provides various components, classes and routines for handling Windows shell folders. Features are:

    A component that encapsulates the Windows Browse for Folder dialogue box. This component, which provides a wrapper round the Windows API SHBrowseForFolder function, permits a degree of customisation of the dialogue box. Features include:
    The dialogue's OK button can be enabled or disabled according to the currently selected folder.
    Status text that changes with the currently selected folder can be displayed. This is done by setting an option and handling the OnSelChange or OnSelChangeEx events.
    The PIDL of the currently selected folder is made available via the OnSelChangeEx event.
    Virtual and file system folders can be displayed. The display can also be limited to file system folders only.
    A help button can be included in the dialogue box that is automatically disabled if the component's HelpContext or HelpKeyword properties are null. An OnHelp event can be used to customise help handling.
    The dialogue box can be customised by handling the OnInitialise event.
    The "New style" of Browse for Folder dialogue box can be displayed by setting an option. Such a dialogue box is resizeable and can display a Make New Folder button. Status text and the Help button cannot be displayed in the new style dialogue box.
    Hints on using the dialogue box can be displayed.
    An edit control in which folder names can be entered can be displayed and actions taken when invalid folders are entered can be customised.
    A component that provides information about a specified special shell folder. Information is extracted from the Windows SHGetSpecialFolderLocation function and is presented in a usable form via the component's properties.
    A class that enumerates all the special shell folders (implements IPJShellFolderEnum below).
    An interface to an object that enumerates all the special shell folders.
    Support routines
    Various routines are provided that can:
    Manipulate special shell folder identifier information.
    Extract display name and path information from PIDLs.
    CSIDL_ Constants
    Various CSIDL_ constants that are not provided by all versions of Delphi are declared. These identify all known special folders or are flags that can be combined with special folder ids. MSDN provides information about these constants.
    Property Editor
    A separate design time unit contains a property editor for special shell folder identifiers. This property editor enables the object inspector to display shell folder constant names for relevant properties.
    The Shell Folders Unit has been tested on Delphi 7 to XE4 Windows compilers (except Delphi 2005) and the Delphi XE2 to XE4 64 bit compilers. The unit is thought to compile on compilers back to Delphi 4, but that is not guaranteed.

    The unit is use with the VCL only: it is not compatible with FireMonkey.

    .NET and non-Windows platforms are not supported.
    Some features require Delphi 6 and later and are not implemented when compiled with earlier compilers.

    Download HERE

Share This Page

Our website, law, laws, copyright and aims to be respectful of individual rights. Our site, as defined in the law of 5651 serves as a provider of space. According to the law, contrary to the law of site management has no obligation to monitor content. Therefore, our site has adopted the principle of fit and remove. Works are subject to copyright laws and is shared in a manner that violated their legal rights, or professional associations, rights holders who, adsdelphi@gmail.com I can reach us at e-mail address. Complaints considered to be infringing on the examination of the content will be removed from our site.
Donate Help To Us and Be VIP
6 MONTHS VIP - 20$; 1 YEAR VIP - 30$; 2 YEARS VIP - 50$; GOLD USER FOR LIFE VIP - 150$
Social Block