#if !defined(AFX_SHOWPIC_H__6DEFB626_77A6_44CD_8A13_DD12835EC5A8__INCLUDED_) #define AFX_SHOWPIC_H__6DEFB626_77A6_44CD_8A13_DD12835EC5A8__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ShowPic.h : header file // ///////////////////////////////////////////////////////////////////////////// // ShowPic dialog #include using namespace std; class ShowPic : public CDialog { // Construction public: int m_mode; void LoadPhotos(); CStringArray m_patharray1; BOOL TerminateThread(); void LoadThumbImages(); ShowPic(CWnd* pParent = NULL); // standard constructor CString m_path; vector m_vFileName; // CListCtrl m_ListCtrl; 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(ShowPic) enum { IDD = IDD_DLGShowPic }; CListCtrl m_List1; CComboBox m_combo1; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(ShowPic) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(ShowPic) virtual BOOL OnInitDialog(); afx_msg void OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnDestroy(); afx_msg void OnBUTdelall(); afx_msg void OnBUTdel(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SHOWPIC_H__6DEFB626_77A6_44CD_8A13_DD12835EC5A8__INCLUDED_)