将图像显示为已保存文件 [英] Showing Images as Saved Files

查看:68
本文介绍了将图像显示为已保存文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个程序,希望将保存的文件显示为图像. Windows 7在其他程序(例如MS Word和Adobe PDF)中具有此功能.我正在编写的程序在VS2010中使用MFC和C ++.

任何人都没有关于保存文件并将其显示在Windows资源管理器窗格中的图像的良好教程的建议,我可以从中了解文件中包含的内容吗?

谢谢!

I have a program in which I would like to make the saved files show as images. Windows 7 has this ability with other programs such as MS Word and Adobe PDFs. The program I am writing uses MFC and C++ in VS2010.

Does anyone have any suggestions for a good tutorial on doing saving a file and having it display in the windows explorer panes as an image where I can get idea of what is contained in the file?

Thanks!

推荐答案

此处是有关如何执行此操作的Microsoft文章.

构建预览处理程序


Windows SDK示例
Here is the Microsoft article on how to do this.

Building Preview Handlers


And the Windows SDK Sample


这篇关于将图像显示为已保存文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆