浏览图片 [英] Browse Image
本文介绍了浏览图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要使用Visual Studio C ++创建一个浏览按钮,才能从我的桌面浏览照片.
并将照片添加到图片框中.
我已经尝试了以下解决方案并进行了一些研究.
但是有错误...
有人可以帮我解决代码吗?
在此先感谢
Hi,
i need to use visual studio C++ to create a browse button to browse a photo from my desktop.
and the photo will be added into picturebox.
i have try the solution below and do some research.
but there is error...
Can anybody help me out with the code?
Thanks in advance
推荐答案
如果要使用文件打开对话框在桌面上浏览照片,请使用 ^ ].
If you want to browse for a photo on the desktop using a file open dialog use the CFileDialog Class[^].
这篇关于浏览图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文