home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / leadtools / ocx32.lt / Connect.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-03  |  1.2 KB  |  54 lines

  1. // Connect.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CConnection dialog
  6. //{{AFX_INCLUDES()
  7. #include "lead.h"
  8. //}}AFX_INCLUDES
  9.  
  10. class CConnection : public CDialog
  11. {
  12. // Construction
  13. public:
  14.     CConnection(CWnd* pParent = NULL);   // standard constructor
  15.  
  16. // Dialog Data
  17.     //{{AFX_DATA(CConnection)
  18.     enum { IDD = IDD_CONNECTION_DIALOG };
  19.     CLead    m_Lead;
  20.     //}}AFX_DATA
  21.  
  22.  
  23. // Overrides
  24.     // ClassWizard generated virtual function overrides
  25.     //{{AFX_VIRTUAL(CConnection)
  26.     protected:
  27.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  28.     //}}AFX_VIRTUAL
  29.  
  30. // Implementation
  31. public:
  32.    short       m_nComputer;
  33.    long        m_nBytesIn;
  34.    long        m_nBytesOut;
  35.    long        m_nImagesIn;
  36.    long        m_nImagesOut;
  37.    long        m_nTime;
  38.    long        m_nLastTime;
  39.    char        m_szHostIP[80];
  40.    char        m_szHostName[80];
  41.    long        m_nTimeout;
  42.    CNetCapDlg *m_pOwner;
  43.  
  44. protected:
  45.     HICON m_hIcon;
  46.  
  47.     // Generated message map functions
  48.     //{{AFX_MSG(CConnection)
  49.     virtual BOOL OnInitDialog();
  50.     afx_msg void OnClose();
  51.     //}}AFX_MSG
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.