关于目录的操作,急! SHBrowseForFolder( LPBROWSEINFO lpbi); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 CString CSettingDlg::ShowBrowser(){ BROWSEINFO bi; ITEMIDLIST* pidl; char Dir[_MAX_PATH]; bi.hwndOwner = this->m_hWnd; bi.pidlRoot = NULL; bi.pszDisplayName = Dir; bi.lpszTitle = "ÇëÑ¡ÔñProjectµÄ¸ùĿ¼:"; bi.ulFlags = BIF_RETURNONLYFSDIRS;/*| BIF_USENEWUI;*/ bi.lpfn = NULL; bi.lParam = 0; bi.iImage = 0; OleInitialize(NULL); pidl = SHBrowseForFolder(&bi); if ( pidl == NULL ) Dir[0] = 0; if ( !SHGetPathFromIDList(pidl,Dir) ) Dir[0] = 0; return Dir;} 关于MFC中类的用法 关于异步套接字编程的问题 Find使用if语句的问题 增加类的问题 DrawItem问题 询问最好的多语言解决方案? 关于“无缝连接”再加50分 请问如何获得和设置对话框的背景色和前景色 各位兄弟~能不能帮个小忙~? call into 是什么意思 ?谢谢您!!! 打假?!?!?!? 如何将局域网IP地址转换Internet IP地址
CString CSettingDlg::ShowBrowser()
{
BROWSEINFO bi;
ITEMIDLIST* pidl;
char Dir[_MAX_PATH]; bi.hwndOwner = this->m_hWnd;
bi.pidlRoot = NULL;
bi.pszDisplayName = Dir;
bi.lpszTitle = "ÇëÑ¡ÔñProjectµÄ¸ùĿ¼:";
bi.ulFlags = BIF_RETURNONLYFSDIRS;/*| BIF_USENEWUI;*/
bi.lpfn = NULL;
bi.lParam = 0;
bi.iImage = 0;
OleInitialize(NULL);
pidl = SHBrowseForFolder(&bi);
if ( pidl == NULL )
Dir[0] = 0;
if ( !SHGetPathFromIDList(pidl,Dir) )
Dir[0] = 0; return Dir;}