12345678910111213141516171819202122 |
- //Download by http://www.NewXing.com
- #if !defined(AFX_BrowseFolder_H__62FFAC92_1DEE_11D1_B87A_0060979CDF6D__INCLUDED_)
- #define AFX_BrowseFolder_H__62FFAC92_1DEE_11D1_B87A_0060979CDF6D__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif
- class CBrowseFolder
- {
- public:
- CBrowseFolder();
- virtual ~CBrowseFolder();
- char *GetDirPath();
- int DoModal(CWnd *pParentWnd,const char *pStartPath=NULL);
- protected:
- static int CALLBACK BrowseCallbackProc(HWND hwnd,UINT uMsg,LPARAM lParam,LPARAM lpData);
- BOOL IsValuePath(const char *pDirPath);
- char *m_pDirPath;
- };
- #endif
|