I got confused by a very strange problem with the Vcl.FileCtrl SelectDirectory function (which is a thin shell in the ShBrowseForFolder Win32 API).
I use the following code to allow the user to view a file or folder:
if SelectDirectory('Sélectionnez un élément à ajouter :', '', S, [sdNewFolder,
sdShowFiles, sdNewUI]) then
When this code is executed, the Browse Folder dialog box appears, displaying the contents of the user's desktop:

But when the number of items in the Desktop folder is too large (on my computer I can reproduce the problem with about 100 icons on the desktop), the same call creates a completely different display:

. , " ", / .
, . , ? , , , , , . , - Delphi, API, MSDN...
!