home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / sheriffa / exceeddl.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1997-09-10  |  1.1 KB  |  55 lines

  1. // ExceedDlg.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "SlsDemo.h"
  6. #include "ExceedDlg.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CExceedDlg dialog
  16.  
  17.  
  18. CExceedDlg::CExceedDlg(CWnd* pParent /*=NULL*/)
  19.     : CDialog(CExceedDlg::IDD, pParent)
  20. {
  21.     //{{AFX_DATA_INIT(CExceedDlg)
  22.         // NOTE: the ClassWizard will add member initialization here
  23.     //}}AFX_DATA_INIT
  24. }
  25.  
  26.  
  27. void CExceedDlg::DoDataExchange(CDataExchange* pDX)
  28. {
  29.     CDialog::DoDataExchange(pDX);
  30.     //{{AFX_DATA_MAP(CExceedDlg)
  31.         // NOTE: the ClassWizard will add DDX and DDV calls here
  32.     //}}AFX_DATA_MAP
  33. }
  34.  
  35.  
  36. BEGIN_MESSAGE_MAP(CExceedDlg, CDialog)
  37.     //{{AFX_MSG_MAP(CExceedDlg)
  38.     ON_BN_CLICKED(IDC_CONTINUE, OnContinue)
  39.     ON_BN_CLICKED(IDC_EXIT, OnExit)
  40.     //}}AFX_MSG_MAP
  41. END_MESSAGE_MAP()
  42.  
  43. /////////////////////////////////////////////////////////////////////////////
  44. // CExceedDlg message handlers
  45.  
  46. void CExceedDlg::OnContinue() 
  47. {
  48.     EndDialog(IDC_CONTINUE);    
  49. }
  50.  
  51. void CExceedDlg::OnExit() 
  52. {
  53.     EndDialog(IDC_EXIT);    
  54. }
  55.