#if !defined(AFX_IPSETUP_H__B52E87F5_5C56_41F1_A5A2_FB7DE49A03E9__INCLUDED_) #define AFX_IPSETUP_H__B52E87F5_5C56_41F1_A5A2_FB7DE49A03E9__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // IPSetUp.h : header file // #include "NetBios.h" #include "TransparentStatic.h" //#include "XColorStatic.h" ///////////////////////////////////////////////////////////////////////////// // CIPSetUp dialog class CIPSetUp : public CDialog { // Construction public: void InitNickName(); char m_sSubmask[20]; void InitDns(); void InitSub(); void InitGate(); void InitIp(); void InitDhcp(); void refresh_network_info(int index); CIPSetUp(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CIPSetUp) enum { IDD = IDD_DIALOG_IPSETUP }; CTransparentStatic m_stMyinfo; CTabCtrl m_tabNetwork; CIPAddressCtrl m_ctrlDns; CIPAddressCtrl m_ctrlGate; CIPAddressCtrl m_ctrlSub; CIPAddressCtrl m_ctrlIp; CString m_sNickName; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CIPSetUp) public: virtual BOOL PreTranslateMessage(MSG* pMsg); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CIPSetUp) afx_msg void OnButtonSetup(); virtual BOOL OnInitDialog(); afx_msg void OnRadioStatic(); afx_msg void OnRadioDhcp(); afx_msg void OnSelchangeTabNetwork(NMHDR* pNMHDR, LRESULT* pResult); //}}AFX_MSG DECLARE_MESSAGE_MAP() NetBiosinfo* m_info; int m_count_info; }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_IPSETUP_H__B52E87F5_5C56_41F1_A5A2_FB7DE49A03E9__INCLUDED_)