PicListDlg.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #if !defined(AFX_PICLISTDLG_H__CE375690_294F_4281_805A_B64827CCAB9F__INCLUDED_)
  2. #define AFX_PICLISTDLG_H__CE375690_294F_4281_805A_B64827CCAB9F__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // PicListDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CPicListDlg dialog
  10. class CPicListDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CPicListDlg(CWnd* pParent = NULL); // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CPicListDlg)
  17. enum { IDD = IDD_PICLIST };
  18. CString m_strPicName;
  19. //}}AFX_DATA
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CPicListDlg)
  23. protected:
  24. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  25. //}}AFX_VIRTUAL
  26. // Implementation
  27. protected:
  28. // Generated message map functions
  29. //{{AFX_MSG(CPicListDlg)
  30. virtual BOOL OnInitDialog();
  31. afx_msg void OnDblclkListPic();
  32. virtual void OnOK();
  33. //}}AFX_MSG
  34. DECLARE_MESSAGE_MAP()
  35. private:
  36. void FileSearch(CListBox* pList, CString strPath, CString strFileName, int nLayer);
  37. BOOL DirSearch(CString strPath, CString strFileName);
  38. };
  39. //{{AFX_INSERT_LOCATION}}
  40. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  41. #endif // !defined(AFX_PICLISTDLG_H__CE375690_294F_4281_805A_B64827CCAB9F__INCLUDED_)