SetVolumeDlg.cpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // SetVolumeDlg.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "UPhoneBox.h"
  5. #include "SetVolumeDlg.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CSetVolumeDlg dialog
  13. CSetVolumeDlg::CSetVolumeDlg(CWnd* pParent /*=NULL*/)
  14. : CDialog(CSetVolumeDlg::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(CSetVolumeDlg)
  17. m_lMicVol = 0;
  18. m_lSpkVol = 0;
  19. //}}AFX_DATA_INIT
  20. }
  21. void CSetVolumeDlg::DoDataExchange(CDataExchange* pDX)
  22. {
  23. CDialog::DoDataExchange(pDX);
  24. //{{AFX_DATA_MAP(CSetVolumeDlg)
  25. DDX_Text(pDX, IDC_EDIT_MIC_VOLUME, m_lMicVol);
  26. DDV_MinMaxLong(pDX, m_lMicVol, 0, 20);
  27. DDX_Text(pDX, IDC_EDIT_SPEAKER_VOLUME, m_lSpkVol);
  28. DDV_MinMaxLong(pDX, m_lSpkVol, 0, 20);
  29. //}}AFX_DATA_MAP
  30. }
  31. BEGIN_MESSAGE_MAP(CSetVolumeDlg, CDialog)
  32. //{{AFX_MSG_MAP(CSetVolumeDlg)
  33. // NOTE: the ClassWizard will add message map macros here
  34. //}}AFX_MSG_MAP
  35. END_MESSAGE_MAP()
  36. /////////////////////////////////////////////////////////////////////////////
  37. // CSetVolumeDlg message handlers