Class to select directory (Enhancements) - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
| 项目描述: |
This is a small enhancement of the CDirDialog class contributed by Girish Bharadwaj and Lars Klose.
I have extended the CDirDialog class with the following useful features
You can specify the parent window of the dialog, so it can act as a modal dialog.
You can specify the title of the dialog window
The DoBrowse() method truncates the '\' character of the default directory.
The class has a virtual member that can dynamically enable and disable the OK button. This virtual member can also specify the text that will be displayed in the status area of the dialog box.
这是对由 Girish Bharadwaj 和Lars Klose开发的CDirDialog 类的改进。我扩展了这个类,现在它有下列功能:
你可以指定对话框的父窗口,所以它可以用作一个模态对话框。
你可以指定对话框窗口的标题。
DoBrowse()方法可以裁剪掉缺省目录的"\"字符。
这个类有一个虚成员函数,可以动态的激活或禁用“OK”按钮。这个虚函数也可以设置在对话框状态条上显示的文本。
来源: https://www.codeguru.com/dialog/dir_dialog2.shtml |
| 类别: |
| |
|
发布者:
cbd002
|
|
| 最新发布源码包 |
| 软件包 |
版本号 |
日期 |
本地下载 |
| dir_dialog2 |
 1.0  |
2004-04-12 |
下载 |
|
|