home *** CD-ROM | disk | FTP | other *** search
/ Solo Programadores 21 / SOLOPROG21.iso / disk21 / visualc / configdi.cpp next >
Encoding:
C/C++ Source or Header  |  1996-04-01  |  1.3 KB  |  61 lines

  1. // ConfigDialog.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "MFCEditor.h"
  6. #include "ConfigDialog.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. // CConfigDialog dialog
  16.  
  17.  
  18. CConfigDialog::CConfigDialog(CWnd* pParent /*=NULL*/)
  19.     : CDialog(CConfigDialog::IDD, pParent)
  20. {
  21.     //{{AFX_DATA_INIT(CConfigDialog)
  22.         // NOTE: the ClassWizard will add member initialization here
  23.     //}}AFX_DATA_INIT
  24. }
  25.  
  26.  
  27. void CConfigDialog::DoDataExchange(CDataExchange* pDX)
  28. {
  29.     CDialog::DoDataExchange(pDX);
  30.     //{{AFX_DATA_MAP(CConfigDialog)
  31.         // NOTE: the ClassWizard will add DDX and DDV calls here
  32.     //}}AFX_DATA_MAP
  33. }
  34.  
  35.  
  36. BEGIN_MESSAGE_MAP(CConfigDialog, CDialog)
  37.     //{{AFX_MSG_MAP(CConfigDialog)
  38.     ON_BN_CLICKED(IDC_BOTON_PRUEBA, OnBotonPrueba)
  39.     //}}AFX_MSG_MAP
  40. END_MESSAGE_MAP()
  41.  
  42. /////////////////////////////////////////////////////////////////////////////
  43. // CConfigDialog message handlers
  44.  
  45. void CConfigDialog::OnBotonPrueba() 
  46. {
  47.     // TODO: Add your control notification handler code here
  48.  
  49.     MessageBeep((UINT)-1);
  50. }
  51.  
  52.  
  53. void CConfigDialog::OnOK() 
  54. {
  55.     // TODO: Add extra validation here
  56.  
  57.  
  58.     MessageBeep((UINT)-1);
  59.     CDialog::OnOK();
  60. }
  61.