1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // SetVolumeDlg.cpp : implementation file
- //
- #include "stdafx.h"
- #include "UPhoneBox.h"
- #include "SetVolumeDlg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CSetVolumeDlg dialog
- CSetVolumeDlg::CSetVolumeDlg(CWnd* pParent /*=NULL*/)
- : CDialog(CSetVolumeDlg::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CSetVolumeDlg)
- m_lMicVol = 0;
- m_lSpkVol = 0;
- //}}AFX_DATA_INIT
- }
- void CSetVolumeDlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CSetVolumeDlg)
- DDX_Text(pDX, IDC_EDIT_MIC_VOLUME, m_lMicVol);
- DDV_MinMaxLong(pDX, m_lMicVol, 0, 20);
- DDX_Text(pDX, IDC_EDIT_SPEAKER_VOLUME, m_lSpkVol);
- DDV_MinMaxLong(pDX, m_lSpkVol, 0, 20);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CSetVolumeDlg, CDialog)
- //{{AFX_MSG_MAP(CSetVolumeDlg)
- // NOTE: the ClassWizard will add message map macros here
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CSetVolumeDlg message handlers
|