12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- #if !defined(AFX_ReplaceDesignNo_H__6DEFB626_77A6_44CD_8A13_DD12835EC5A8__INCLUDED_)
- #define AFX_ReplaceDesignNo_H__6DEFB626_77A6_44CD_8A13_DD12835EC5A8__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ReplaceDesignNo.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // ReplaceDesignNo dialog
- #include <vector>
- #include "EditListCtrl.h"
- using namespace std;
- class ReplaceDesignNo : public CDialog
- {
- Image *m_image;
- CString m_designno;
- // Construction
- public:
- BOOL TerminateThread2();
- CString m_path2;
- CString m_path;
- CRect m_rc;
- int m_mode;
- void LoadPhotos();
- CStringArray m_patharray1;
- CStringArray m_patharray2;
- BOOL TerminateThread();
- void LoadThumbImages();
- ReplaceDesignNo(CWnd* pParent = NULL); // standard constructor
- CString m_id;
- vector<CString> 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
- vector<CString> m_vFileName2;
- CImageList m_ImageListThumb2; // image list holding the thumbnails
- 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
- CImageList m_ImageListThumb3; // image list holding the thumbnails
- // Dialog Data
- //{{AFX_DATA(ReplaceDesignNo)
- enum { IDD = IDD_DLGReplaceDesignNo };
- CListCtrl m_List5;
- CListCtrl m_List4;
- CListCtrl m_List1;
- CString m_replacesingle;
- CString m_replace;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(ReplaceDesignNo)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(ReplaceDesignNo)
- virtual BOOL OnInitDialog();
- afx_msg void OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnDestroy();
- afx_msg void OnDblclkList4(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
- afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnClickList4(NMHDR* pNMHDR, LRESULT* pResult);
- virtual void OnOK();
- afx_msg void OnPaint();
- afx_msg void OnButton2();
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnBegindragList4(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_ReplaceDesignNo_H__6DEFB626_77A6_44CD_8A13_DD12835EC5A8__INCLUDED_)
|