BrowseFolder.h 565 B

12345678910111213141516171819202122
  1. //Download by http://www.NewXing.com
  2. #if !defined(AFX_BrowseFolder_H__62FFAC92_1DEE_11D1_B87A_0060979CDF6D__INCLUDED_)
  3. #define AFX_BrowseFolder_H__62FFAC92_1DEE_11D1_B87A_0060979CDF6D__INCLUDED_
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif
  7. class CBrowseFolder
  8. {
  9. public:
  10. CBrowseFolder();
  11. virtual ~CBrowseFolder();
  12. char *GetDirPath();
  13. int DoModal(CWnd *pParentWnd,const char *pStartPath=NULL);
  14. protected:
  15. static int CALLBACK BrowseCallbackProc(HWND hwnd,UINT uMsg,LPARAM lParam,LPARAM lpData);
  16. BOOL IsValuePath(const char *pDirPath);
  17. char *m_pDirPath;
  18. };
  19. #endif