如何在选项卡或CPropertySheet上放置一个CFileDialog对象 [英] How to place a CFileDialog object on tab or CPropertySheet

查看:103
本文介绍了如何在选项卡或CPropertySheet上放置一个CFileDialog对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我想使用对话框中的新建"和打开"选项卡或页面来自定义文件操作.我已经使用CPropertyPage建立了"New"页面,但是似乎没有任何控件可以打开CFileDialog之类的文件并在选项卡或页面上创建.我很想得到您的帮助,谢谢!

Hello,
I want to customize file opration with "New" and "Open" tabs or pages in a dialog. I have established the "New" page by using CPropertyPage, but there doesn''t seems have any control which could open a file like CFileDialog and be created on a tab or page. I''m eager to get your help, thank you!

推荐答案

例如,您可以组合使用以下三个控件:

<静态文字,描述编辑框的内容:>
<编辑框,可能是只读的,代表文件名的是> < ...>

-在< ...>是一个三点按钮,用于打开文件对话框:)
You could combine, for example, three controls:

<Static text, what describes the edit box:>
<Edit box, may be read only, what presents the file name> <...>

- there <...> is a three-dots button to open a file dialog :)


这篇关于如何在选项卡或CPropertySheet上放置一个CFileDialog对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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