摘要: CStringMyBrowseFolder(){TCHARchPath[MAX_PATH];//用来存储路径的字符串CStringstrPath;BROWSEINFObInfo;GetModuleFileName(NULL,chPath,MAX_PATH);strPath=chPath;ZeroMemory(&bInfo,sizeof(bInfo));bInfo.hwndOwner=::AfxGetMainWnd()->m_hWnd;bInfo.lpszTitle=_T("请选择路径:");bInfo.ulFlags=BIF_RETURNONLYFSDIRS| 阅读全文
posted @ 2012-04-02 15:51 吾非无心 阅读(804) 评论(0) 推荐(0) 编辑