CFileDialog
来源:互联网 发布:协同过滤算法java实现 编辑:程序博客网 时间:2024/05/17 23:48
http://www.codeguru.com/forum/showthread.php?t=190010
当你用CFileDialog选择一个文件之后,你再对文件夹命名的话,那就会提示你文件夹被占用.
众里寻她千百度,终于在一个几角旮旯里面,找到问题的正解了.
不过说实话,CFileDialog的这种设计确实够变态的.
很有意思的是,文章中说道Even the famous IM tool, ICQ consists this problem too.
哈哈.
下面引用大牛的点睛之语:
The problem exists. It's because the folder in which you've selected some file becomes the current folder for your application. If you'd rename or move or delete this folder your application current folder would be invalid. You may solve this problem by saving your application current folder before the dalog shows and restore it after the dialog destoyed.
- CFileDialog
- CFileDialog
- CFileDialog
- CFileDialog
- CFileDialog
- CFileDialog
- CFileDialog
- CFileDialog
- CFileDialog
- CFileDialog
- CFileDialog
- CFileDialog
- CFileDialog
- CFileDialog
- CFileDialog
- CFileDialog
- cfiledialog
- CFileDialog
- 用.NET实现域名注册和域名查询功能
- jsp 不支持EL表达式,解决办法
- Logger 记录日志
- 二叉树的非递归遍历
- 活用Linux操作系统的后台任务
- CFileDialog
- 1069 标号树的普吕弗(Prüfer)序列
- C#调用C++DLL
- Hibernate映射一对多单向关联(之二)
- Flash CS4从入门到精通
- 团队模型 大雁模型
- Ubuntu下NVIDIA显卡驱动安装
- CSDN编辑器
- UTF-8 与UniCode 编码转换