Applying a custom *.ico file to a folder in Windows removes the contents preview where several files or images appear to fan out inside the default folder icon. While it makes sense to automatically disable the preview when a user-defined image is viewed, I would like to create icons that would still appropriately show sub-directories and files. While I can readily find sources on creating *.ico files from other image formats or applying those files in Windows, I have not been able to find any info on the preview functionality.
Is it possible to build the preview function into the custom *.ico file? Can the visual layout of the preview files be controlled (changed between the Windows 7 fan shape, the older Windows XP grid, the Windows 10 preview stack, or possibly a user-defined layout)? What software/scripting is required?