文件名称:folder_dialog_source
介绍说明--下载内容均来自于网络,请自行研究使用
让CFileDialog只显示目录,cfolderdialog类是从CFileDialog派生。这两个类之间的主要区别是CFileDialog类显示这两个文件夹和文件,可用于应用程序的情况下只希望显示文件夹的cfolderdialog类。下面是一个代码片段,显示它是多么容易使用这个类。请注意,cfolderdialog构造需要一个CString指针。此变量将包含domodal函数调用返回时由最终用户选择的文件夹的名称。-So only the directory CFileDialog,the cfolderdialog class is derived from cfiledialog. the major difference between the two classes is that while the cfiledialog class displays both folders and files, the cfolderdialog class can be used in situations where the application only wants to display folders. below is a code snippet showing how easy it is to use this class. please note that the the constructor for the cfolderdialog takes a cstring pointer. this variable will contain the name of the folder that was selected by the end user when the domodal function call returns.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
folder_dialog_source\folder_dialog.cpp
....................\folder_dialog.h
....................\readme.txt
folder_dialog_source
....................\folder_dialog.h
....................\readme.txt
folder_dialog_source