home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / vrac / dlgcbr.zip / RATEDLG.H < prev    next >
C/C++ Source or Header  |  1994-06-30  |  1KB  |  56 lines

  1. /*****************************************************************************
  2.   RATEDLG.H
  3.  
  4.   Purpose:
  5.       Interface to CRateDlg, which allows the user to specify how often to
  6.       update the main dialog display.
  7.  
  8.   Functions:
  9.     CRateDlg::CRateDlg()            -- constructor
  10.     CRateDlg::DoDataExchange()        -- dialog data exchange/validation  
  11.     CRateDlg::GetRate()                -- retrieve update rate
  12.     CRateDlg::OnInitDialog()        -- initialize dialog
  13.  
  14.   Development Team:
  15.     Mary Kirtland
  16.             
  17.   Written by Microsoft Product Support Services, Premier ISV Support
  18.   Copyright (c) 1994 Microsoft Corporation. All rights reserved.
  19. \****************************************************************************/
  20.  
  21. #ifndef __RATEDLG_H__
  22.     #define __RATEDLG_H__
  23.     
  24. class CRateDlg : public CDialog
  25. {
  26. // Construction
  27. public:
  28.     CRateDlg(UINT iRate, CWnd* pParent = NULL);   
  29.     
  30. // Attributes
  31.     UINT GetRate() const { return m_iRate; }    
  32.  
  33. // Dialog Data           
  34. protected:
  35.     //{{AFX_DATA(CRateDlg)
  36.     enum { IDD = IDD_RATE };
  37.     UINT    m_iRate;
  38.     //}}AFX_DATA
  39.  
  40.  
  41. // Overrides
  42. protected:
  43.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support  
  44.     virtual BOOL OnInitDialog();
  45.  
  46. // Implementation
  47. protected:
  48.     // Generated message map functions
  49.     //{{AFX_MSG(CRateDlg)
  50.     //}}AFX_MSG
  51.     DECLARE_MESSAGE_MAP()
  52. }; 
  53.  
  54. #endif //__RATEDLG_H__
  55.  
  56.