12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- #if !defined(AFX_ShowPic3_H__6DEFB626_77A6_44CD_8A13_DD12835EC5A8__INCLUDED_)
- #define AFX_ShowPic3_H__6DEFB626_77A6_44CD_8A13_DD12835EC5A8__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif
- #include "MultiLineListBox.h"
- #include <vector>
- #include "afxwin.h"
- #include "AutoCompl.h"
- using namespace std;
- #define OWNER_MSG_SHOWPHOTO WM_USER+0x333
- class ShowPic3 : public CDialog
- {
- CString m_type;
- CArray<CStringArray, CStringArray>m_List1array;
- public:
- void ShowPhoto4();
- void ShowPhoto3();
- void ShowPhoto2();
- void ShowPhoto1();
-
- CString m_strOrderNumber;
- CString m_name;
- void LoadPhotos();
- CStringArray m_patharray1;
- CStringArray m_dirarray1;
- CStringArray m_dirarray2;
- CStringArray m_dirarray3;
- CStringArray m_dirarray4;
- BOOL TerminateThread();
- void LoadThumbImages();
- ShowPic3(CWnd* pParent = NULL);
- CString m_path;
- vector<CString> m_vFileName;
- CImageList m_ImageListThumb;
- bool m_bRunning;
- bool m_bTerminate;
- unsigned int m_dwThreadID;
- HANDLE m_hThread, m_hEvent;
- enum {
- IDD = IDD_DLGShowPic3
- };
- CMultiLineListBox m_List2;
- CListCtrl m_List1;
- protected:
- virtual void DoDataExchange(CDataExchange* pDX);
- protected:
- 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 void OnSelchangeList2();
- afx_msg void OnBTNshow1();
- afx_msg void OnBTNshow2();
- afx_msg void OnBTNshow3();
- afx_msg void OnBTNshow4();
- afx_msg void OnBUTdel1();
- afx_msg void OnBUTdel2();
- afx_msg void OnBUTdel3();
- afx_msg void OnBUTdel4();
-
- DECLARE_MESSAGE_MAP()
- public:
-
- CComboBox m_combobox;
- CAutoComplete m_acCombo;
- CStringArray m_strArrayName;
- afx_msg void ShowPhoto2Found(WPARAM wParam, LPARAM lParam);
- afx_msg void OnCbnSelchangeCombo1();
- afx_msg void OnBnClickedNextone();
- };
- #endif
|