Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1 KiB

  1. // ChooseIPDlg.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CChooseIPDlg dialog
  5. class CChooseIPDlg : public CDialog
  6. {
  7. // Construction
  8. public:
  9. CChooseIPDlg(CWnd* pParent = NULL); // standard constructor
  10. // override the init routine
  11. BOOL OnInitDialog( );
  12. // override the OnOK routine
  13. void OnOK();
  14. // the ip address in question
  15. CString m_szIPAddress;
  16. CW3Key* m_pKey;
  17. // Dialog Data
  18. //{{AFX_DATA(CChooseIPDlg)
  19. enum { IDD = IDD_CHOOSE_IPADDRESS };
  20. CListCtrl m_ctrlList;
  21. //}}AFX_DATA
  22. // Overrides
  23. // ClassWizard generated virtual function overrides
  24. //{{AFX_VIRTUAL(CChooseIPDlg)
  25. protected:
  26. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  27. //}}AFX_VIRTUAL
  28. // Implementation
  29. protected:
  30. BOOL BuildIPAddressList( void );
  31. BOOL BuildMetaIPAddressList( void );
  32. // Generated message map functions
  33. //{{AFX_MSG(CChooseIPDlg)
  34. //}}AFX_MSG
  35. DECLARE_MESSAGE_MAP()
  36. };