ShowSelPhoto2.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #if !defined(AFX_ShowSelPhoto2_H__6DEFB626_77A6_44CD_8A13_DD12835EC5A8__INCLUDED_)
  2. #define AFX_ShowSelPhoto2_H__6DEFB626_77A6_44CD_8A13_DD12835EC5A8__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ShowSelPhoto2.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // ShowSelPhoto2 dialog
  10. #include <vector>
  11. #include "EditListCtrl.h"
  12. using namespace std;
  13. class ShowSelPhoto2 : public CDialog
  14. {
  15. // Construction
  16. public:
  17. BOOL TerminateThread2();
  18. CString m_path;
  19. CRect m_rc;
  20. int m_mode;
  21. void LoadPhotos();
  22. CStringArray m_patharray1;
  23. CStringArray m_patharray2;
  24. ShowSelPhoto2(CWnd* pParent = NULL); // standard constructor
  25. CString m_id;
  26. vector<CString> m_vFileName2;
  27. CImageList m_ImageListThumb2; // image list holding the thumbnails
  28. bool m_bRunning2; // Flag to whether thread is on running or not
  29. bool m_bTerminate2; // Flag to Thread to be terminated
  30. unsigned int m_dwThreadID2; // Thread ID
  31. HANDLE m_hThread2, m_hEvent2; // Thread and Event handle
  32. // Dialog Data
  33. //{{AFX_DATA(ShowSelPhoto2)
  34. enum { IDD = IDD_DLGShowSelPhoto2 };
  35. CListCtrl m_List4;
  36. //}}AFX_DATA
  37. // Overrides
  38. // ClassWizard generated virtual function overrides
  39. //{{AFX_VIRTUAL(ShowSelPhoto2)
  40. public:
  41. virtual BOOL PreTranslateMessage(MSG* pMsg);
  42. protected:
  43. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  44. //}}AFX_VIRTUAL
  45. // Implementation
  46. protected:
  47. // Generated message map functions
  48. //{{AFX_MSG(ShowSelPhoto2)
  49. virtual BOOL OnInitDialog();
  50. afx_msg void OnDestroy();
  51. afx_msg void OnDblclkList4(NMHDR* pNMHDR, LRESULT* pResult);
  52. //}}AFX_MSG
  53. DECLARE_MESSAGE_MAP()
  54. };
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  57. #endif // !defined(AFX_ShowSelPhoto2_H__6DEFB626_77A6_44CD_8A13_DD12835EC5A8__INCLUDED_)