#if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 // DeviceDlg.h : header file // #include ///////////////////////////////////////////////////////////////////////////// // CDlgDevice dialog class CDlgDevice : public CPropertyPage { DECLARE_DYNCREATE(CDlgDevice) // Construction public: CDlgDevice(); ~CDlgDevice(); // Dialog Data //{{AFX_DATA(CDlgDevice) enum { IDD = IDD_DLG_ADD_DEV_FIRST }; //}}AFX_DATA // Overrides // ClassWizard generate virtual function overrides //{{AFX_VIRTUAL(CDlgDevice) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CDlgDevice) //}}AFX_MSG DECLARE_MESSAGE_MAP() public: CTreeCtrl m_ctrlDevFolder; //CListCtrl m_ctrlDevice; CImageList m_imagelistTree; int m_nDevDriverID; int m_nDevFactoryID; int m_nDevTypeID; int m_operation; enum{NEW, EDIT}; public: virtual BOOL OnInitDialog(); void ListDeviceTypes(HTREEITEM hItemParent = TVI_ROOT); virtual BOOL OnSetActive(); afx_msg void OnTvnSelchangedTreeDeviceFolder(NMHDR *pNMHDR, LRESULT *pResult); private: HTREEITEM FindTreeNode( CTreeCtrl *pTree, HTREEITEM HItem, HTREEITEM HItemSelect ); void SelChangedTreeDeviceFolder(HTREEITEM hItemSelect); public: virtual LRESULT OnWizardNext(); int m_nCommuniteType; int m_nProtocolType; CString m_strProtocolName; int m_nDevEnable; CString m_strDevTypeName; CString m_strDevDriveName; CString m_strDevFactoryName; afx_msg void OnBnClickedBtnSelDll(); int m_nCollectDev; CString m_strIniName; CString m_strReserved1; // Ô¤Áô1 CString m_strReserved2; // Ô¤Áô2 CString m_strReserved3; // Ô¤Áô3 CString m_strReserved4; // Ô¤Áô4 CString m_strReserved5; // Ô¤Áô5 int m_nReserved1; // Ô¤Áô1 int m_nReserved2; // Ô¤Áô2 int m_nReserved3; // Ô¤Áô3 int m_nReserved4; // Ô¤Áô4 int m_nReserved5; // Ô¤Áô5 BOOL m_bReserved1; // Ô¤Áô1 BOOL m_bReserved2; // Ô¤Áô2 BOOL m_bReserved3; // Ô¤Áô3 BOOL m_bReserved4; // Ô¤Áô4 BOOL m_bReserved5; // Ô¤Áô5 afx_msg void OnBnClickedBtnSelIni(); int m_nCommuniteTypeOld; CString m_sUidOld; //±£´æ¾ÉµÄUID bool m_bIsStu2000; };