#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 // _MSC_VER > 1000 // ShowPic3.h : header file // ///////////////////////////////////////////////////////////////////////////// // ShowPic3 dialog #include "MultiLineListBox.h" #include #include "afxwin.h" #include "AutoCompl.h" using namespace std; // Jeff.add 自定义消息; #define OWNER_MSG_SHOWPHOTO WM_USER+0x333 // 1.只显示取件完成的订单; class ShowPic3 : public CDialog // 相片管理中心; { CString m_type; CArraym_List1array; public: void ShowPhoto4(); void ShowPhoto3(); void ShowPhoto2(); void ShowPhoto1(); //CString m_id;//Jeff.delete CString m_strOrderNumber; // Jeff.订单号; 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); // standard constructor CString m_path; //vector m_vFileName; CStringArray 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 enum { IDD = IDD_DLGShowPic3 }; CMultiLineListBox m_List2; // Jeff.list box:左侧客户列表; CListCtrl m_List1; // Jeff.list ctrl:右侧照片列表; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 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(); //}}AFX_MSG DECLARE_MESSAGE_MAP() public: static DWORD WINAPI LoadThumbNail20(LPVOID lpParam); // 查找客人名; CComboBox m_combobox; CAutoComplete m_acCombo; CStringArray m_strArrayName; #ifdef VC60 afx_msg void ShowPhoto2Found(WPARAM wParam, LPARAM lParam); // 自定义消息:显示找到的订单相片; #else afx_msg LRESULT ShowPhoto2Found(WPARAM wParam, LPARAM lParam); // 自定义消息:显示找到的订单相片; #endif afx_msg void OnCbnSelchangeCombo1(); afx_msg void OnBnClickedNextone(); #ifdef USE_KERNEL_DLL void ShowOrderImg(IN CONST INT& nImgType); #endif protected: virtual void OnOK(); }; #endif