I'm making a 3D editor and I want Windows Explorer to show previews of the 3D models in the files when it's in thumbnail view mode.
我正在制作3D编辑器,我希望Windows资源管理器在缩略图视图模式下显示文件中3D模型的预览。
How do I do that?
我怎么做?
2 个解决方案
#2
You have to write a shell extension that implements IExtractImage2 and extracts the thumbnail for Explorer. Oh, and it's COM, so better expect to feel dirty afterwards.
您必须编写实现IExtractImage2的shell扩展并提取Explorer的缩略图。哦,这是COM,所以更好的期待后来感到肮脏。
#1
You have to implement a preview handler.
您必须实现预览处理程序。
#2
You have to write a shell extension that implements IExtractImage2 and extracts the thumbnail for Explorer. Oh, and it's COM, so better expect to feel dirty afterwards.
您必须编写实现IExtractImage2的shell扩展并提取Explorer的缩略图。哦,这是COM,所以更好的期待后来感到肮脏。