We don’t use marketing cookies. Functional cookies ensure a smooth performance of our website. If you continue to use our services, you agree to the use of cookies. Data protection at JAM OK

FAQs & Knowledge Base

Welcome to our Knowledge Base. Search or browse through the topics below to find answers to your questions.

Categories: ShellBrowser Delphi Components | Show all categories

ShellBrowser uses registered preview handler shell extensions for the FilePreview component. Some of these extensions belong to Windows, others are installed with third party applications.

If the FilePreview is not working, please check the following list:

  • Does Windows Explorer preview the files correctly? If no, there is either no preview handler installed, or it is not working correctly. Try updating the respective program. 
  • If the problem occurs in a x86 application, please try compiling a 64-bit version.  
  • The FilePreview component works asynchronously. Depending on the context (versions of Windows, Rad Studio and the PreviewHandler, but also the layout of the form containing the Preview) some Preview Handler may not work or show visual glitches.
     
    Try forcing the loading of the preview into the main thread, by implementing the OnLoadPreview event of the Preview. 
  • If all of this fails, don't hesitate to contact the support. In this case, please provide details on the error: versions of Windows, the IDE and the program that provides the PreviewHandler.

Unfortunately this is beyond the scope of ShellBrowser components. You have to write a "shortcut menu handler" or other type of shell extension to do so.

See the Microsoft documentation for an overview.

You can use the OnBeforeShellCommand event and check for both the affected files and the command and replace the default behavior by your own.

The ShellTree does indeed restrict this operation to avoid long running operations, so you have to add this functionality writing a custom function, that iterates and expands all nodes.

You can read out file attributes or shell properties using the ItemIdList. You can retreive values either as variant or converted as display value.

For ShellBrowser Delphi components please check documentation here:

IItemIdList.GetPropertyValue

IItemIdList.GetShellInformation

For ShellBrowser.NET Components:

ItemIdList.GetPropertyVariantValue

ItemIdList.GetPropertyDisplayValue