开发者

Is it posible to open a cind of browse for file window to get the filepath of a file in c++?

And if this i开发者_开发技巧s possible pleas explain how to do this.


If you are just looking for a path and are on Windows, you probably want something like SHBrowseForFolder. If you are using a framework that abstracts away a lot of low-level Windows API stuff (MFC, Qt, WxWidgets, etc), then it may have some other more convenient function or class that does the same thing.

If you're not on Windows, then I can't help except by suggesting you search the operating system's API and/or the documentation of whatever GUI framework you use.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜