12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- #if !defined(AFX_ShowSelPhoto2_H__6DEFB626_77A6_44CD_8A13_DD12835EC5A8__INCLUDED_)
- #define AFX_ShowSelPhoto2_H__6DEFB626_77A6_44CD_8A13_DD12835EC5A8__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ShowSelPhoto2.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // ShowSelPhoto2 dialog
- #include <vector>
- #include "EditListCtrl.h"
- using namespace std;
- class ShowSelPhoto2 : public CDialog
- {
- public:
- enum { IDD = IDD_DLGShowSelPhoto2 };
- ShowSelPhoto2(CWnd* pParent = NULL); // standard constructor
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual BOOL OnInitDialog();
-
- afx_msg void OnDestroy();
- afx_msg void OnDblclkList4(NMHDR* pNMHDR, LRESULT* pResult);
- DECLARE_MESSAGE_MAP()
- public:
- #if USE_SHARE_FLORD
- void LoadPhotos(CString& strDir, CStringArray* pPathArr, CStringArray* pPhotoNameArr);
- #else
- void LoadPhotos(CString& strDir);
- #endif //#if USE_SHARE_FLORD
- BOOL TerminateThread2();
- public:
- CListCtrl m_List4;
- CString m_id;
- CString m_path;
- CRect m_rc;
- int m_mode;
- bool m_bRunning2; // Flag to whether thread is on running or not
- bool m_bTerminate2; // Flag to Thread to be terminated
- unsigned int m_dwThreadID2; // Thread ID
- HANDLE m_hThread2, m_hEvent2; // Thread and Event handle
- #if USE_SHARE_FLORD
- CStringArray m_originalPathArr; //ÔÆ¬Â·¾¶
- CStringArray m_originalNameArr; //ÔÆ¬Ãû¼¯ºÏ
- CStringArray m_earlyPathArr; //³õÐÞ·¾¶
- CStringArray m_earlyNameArr; //³õÐÞÏàÆ¬Ãû¼¯ºÏ
- #endif //#if USE_SHARE_FLORD
- CStringArray m_patharray1; //ÏàÆ¬Â·¾¶
- CStringArray m_patharray2; //ÏàÆ¬Ãû
-
- vector<CString> m_vFileName2;
- CImageList m_ImageListThumb2; // image list holding the thumbnails
-
- BOOL m_bGrowthTX;
- CString m_seltxname;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_ShowSelPhoto2_H__6DEFB626_77A6_44CD_8A13_DD12835EC5A8__INCLUDED_)
|