Select a Folder
来源:互联网 发布:js 字符串转换日期 编辑:程序博客网 时间:2024/05/16 10:16
BROWSEINFO bi = {0};
bi.pidlRoot = NULL;
bi.hwndOwner = m_hWnd;
bi.pszDisplayName = m_szSelectPath;
bi.lpszTitle = "Selecting Destination Directory";
bi.ulFlags = BIF_EDITBOX|BIF_STATUSTEXT;
LPITEMIDLIST pidl = SHBrowseForFolder(&bi);
if(pidl)
{
::SHGetPathFromIDList(pidl, m_szSelectPath);
LPMALLOC pMalloc;
//Retrieve a pointer to the shell's IMalloc interface
if (SUCCEEDED(SHGetMalloc(&pMalloc)))
{
// free the PIDL that SHBrowseForFolder returned to us.
pMalloc->Free(pidl);
// release the shell's IMalloc interface
(void)pMalloc->Release();
}
}
- Select a Folder
- Select folder dialog
- Select a batch of files from a path pattern(only the last folder changes)
- creat a secret folder
- The folder is already a source folder
- The folder is already a source folder
- Monitor a Folder using Java
- folder
- FOLDER
- Adding List items into a List Folder
- Source folder is not a Java project
- Read all files in a folder
- How to unzip a zip file which include a folder into a folder
- gen already exists but is not a source folder. Convert to a source folder or
- /gen already exists but is not a source folder. Convert to a source folder or rename
- The folder is already a source folder;maven web 创建source folder 不能创建的有关问题
- maven搭建项目新建Source Folder的时候,提示信息The folder is already a source folder.
- 新建maven web project 出现The folder is already a source folder
- 第四章 迭代器
- 一边干活,一边听广播
- 第五章 不完全类型
- 思科CEO预言:改变未来5年商业模式大趋势
- Asp.net开发常用技巧收集二
- Select a Folder
- NetCDF文件概要与读写
- ASP.NET 2.0页面框架的几点新功能
- C#.NET 中的类型转换
- C++捷径之七--结束
- 摄像头编程
- 简单的计数器(jsp)
- 看看自己咬自己鼻子的牛人
- ASP.net 验证码(C#)