#if !defined(AFX_UPLOADPHOTO_H__EC2B49B0_338B_4CCF_AA2A_05A80E6C6BCE__INCLUDED_) #define AFX_UPLOADPHOTO_H__EC2B49B0_338B_4CCF_AA2A_05A80E6C6BCE__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // UploadPhoto.h : header file // ///////////////////////////////////////////////////////////////////////////// // UploadPhoto dialog class UploadPhoto : public CDialog { HWND m_hCapture; // Construction public: CString m_path; void LoadPhotos(); UploadPhoto(CWnd* pParent = NULL); // standard constructor CStringArray m_patharray1; BOOL TerminateThread(); void LoadThumbImages(); vector m_vFileName; CImageList m_ImageListThumb; // image list holding the thumbnails bool m_bRunning; // Flag to whether thread is on running or not bool m_bTerminate; // Flag to Thread to be terminated unsigned int m_dwThreadID; // Thread ID HANDLE m_hThread, m_hEvent; // Thread and Event handle // Dialog Data //{{AFX_DATA(UploadPhoto) enum { IDD = IDD_DLGUploadPhoto }; CListCtrl m_List1; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(UploadPhoto) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(UploadPhoto) afx_msg void OnButton1(); afx_msg void OnButton2(); afx_msg void OnButton3(); afx_msg void OnDestroy(); virtual BOOL OnInitDialog(); afx_msg void OnButton4(); afx_msg void OnButton5(); afx_msg void OnButton6(); afx_msg void OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_UPLOADPHOTO_H__EC2B49B0_338B_4CCF_AA2A_05A80E6C6BCE__INCLUDED_)