#if !defined(AFX_TXSPDlg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_) #define AFX_TXSPDlg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif #ifndef __AFXEXT_H__ #include #endif #include "EditListCtrl.h" #include "afxwin.h" class TXSPDlg : public MyFormView // 套系商品设置; { CRect m_rcOld; CArraym_List1array; CArraym_List2array; CArraym_List3array; CArraym_sparray; protected: TXSPDlg(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(TXSPDlg) public: #if 1 enum { IDD = IDD_DLGTXSP2 }; #else enum { IDD = IDD_DLGTXSP }; #endif CEditListCtrl m_List2; CEditListCtrl m_List1; CStatic m_static1; CComboBox m_combotaoxiname; CString m_taoxiid; CString m_taoxijiage; CString m_zs; public: void SetSPName2(); void SetSPName1(); CString GetSPNameFromId(CString id); void FillGrid(); public: virtual void OnInitialUpdate(); virtual BOOL PreTranslateMessage(MSG* pMsg); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support protected: virtual ~TXSPDlg(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif afx_msg void OnBUTsave(); afx_msg void OnBUTdel(); afx_msg void OnBUTclose(); afx_msg void OnSelchangeCOMBOtaoxiname(); afx_msg void OnBUTspbox(); afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnBUTsave2(); afx_msg void OnBUTdel2(); afx_msg void OnBUTspbox2(); afx_msg void OnBUTclose2(); DECLARE_MESSAGE_MAP() public: // 套系大类 CComboBox m_cbKinds; afx_msg void OnCbnSelchangeKinds(); afx_msg void OnSize(UINT nType, int cx, int cy); static BOOL CALLBACK EnumChildProc1(HWND hwnd, LPARAM lParam); }; #endif