Coerce Windows to show a thumbnail for my custom file type

前端 未结 1 1422
既然无缘
既然无缘 2021-02-02 17:10

I want to use the windows OpenFileDialog class in C# to browse files for my application. I would then like the files to show up with previews in Windows\' \"thumbnails\" view.

相关标签:
1条回答
  • 2021-02-02 17:37

    You have to write a Shell Extension Handler Thumbnail Image Extractor. This is unmanaged c++ code that extracts the image from your custom filetype to display within explorer shell. You can find more about Shell Extension Handlers at the following link:

    Creating Shell Extension Handlers

    0 讨论(0)
提交回复
热议问题