打开文件对话框的Windows API [英] Open File Dialog Windows API

查看:526
本文介绍了打开文件对话框的Windows API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何显示只用直C ++和Windows API的Windows打开文件对话框?
我试图加载到显示屏幕上的图像。

How do you show the Open File Dialog on Windows using just straight C++ and the Windows API? I'm trying to load an image to display on the screen.

推荐答案

您想要的通用文件对话框API,特别是GetOpenFileName - <一个href=\"http://msdn.microsoft.com/en-us/library/windows/desktop/ms646927(v=vs.85).aspx\">http://msdn.microsoft.com/en-us/library/windows/desktop/ms646927(v=vs.85).aspx

You want the common file dialog API, specifically GetOpenFileName - http://msdn.microsoft.com/en-us/library/windows/desktop/ms646927(v=vs.85).aspx

这篇关于打开文件对话框的Windows API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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