home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pc3270sa.zip / apps / winaping / goview.h < prev    next >
Text File  |  2002-02-28  |  2KB  |  79 lines

  1. // goview.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CGoView form view
  6.  
  7. #ifndef __AFXEXT_H__
  8. #include <afxext.h>
  9. #endif
  10.  
  11. class CWinapingDoc;
  12.  
  13. class CGoView : public CFormView
  14. {
  15. protected:
  16.         CGoView();           // protected constructor used by dynamic creation
  17.         DECLARE_DYNCREATE(CGoView)
  18.  
  19. // Form Data
  20. public:
  21.         //{{AFX_DATA(CGoView)
  22.     enum { IDD = IDD_GODLG };
  23.     CListBox    m_msgArea;
  24.         CString m_partner;
  25.         CString m_rate2;
  26.         CString m_rate1;
  27.         CString m_curriter;
  28.         DWORD   m_alloctime;
  29.         DWORD   m_avgtime;
  30.         DWORD   m_confirmtime;
  31.         DWORD   m_maxtime;
  32.         DWORD   m_mintime;
  33.         CString m_totbyte;
  34.         CString m_tottime;
  35.     //}}AFX_DATA
  36.  
  37. // Attributes
  38. public:
  39.         void Refresh0();
  40.         void RefreshMsg(CString str);
  41.  
  42. // Operations
  43. public:
  44.  
  45. // Overrides
  46.         // ClassWizard generated virtual function overrides
  47.         //{{AFX_VIRTUAL(CGoView)
  48.         public:
  49.         virtual void OnInitialUpdate();
  50.         protected:
  51.         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  52.         //}}AFX_VIRTUAL
  53.  
  54. // Implementation
  55. protected:
  56.         TEXTMETRIC    tm;
  57.         CRect         m_rect;
  58.         BOOL          verify_failed_msg_issued;  // only one msg displayed
  59.         DWORD         total_byte_per_iter; // 64K pketsize/echo/32K consecutive
  60.         double        grand_total_byte;    // DWORD not enough for this
  61.         double        grand_total_time;    // DWORD not enough for this
  62.  
  63.         virtual      ~CGoView();
  64. #ifdef _DEBUG
  65.         virtual void AssertValid() const;
  66.         virtual void Dump(CDumpContext& dc) const;
  67. #endif
  68.  
  69.         // Generated message map functions
  70.         //{{AFX_MSG(CGoView)
  71.                 // NOTE - the ClassWizard will add and remove member functions here.
  72.         afx_msg LONG OnCpiccallErr(UINT, LONG);           // user msg handler
  73.         afx_msg LONG OnRefresh(UINT, LONG);               // user msg handler
  74.         //}}AFX_MSG
  75.         DECLARE_MESSAGE_MAP()
  76. };
  77.  
  78. /////////////////////////////////////////////////////////////////////////////
  79.