67 lines
1.8 KiB
C++
Executable File
67 lines
1.8 KiB
C++
Executable File
#if !defined(AFX_SETSOUNDDLG_H__F6C72AC2_53B1_42C1_BE52_7FA09B7DDDB6__INCLUDED_)
|
|
#define AFX_SETSOUNDDLG_H__F6C72AC2_53B1_42C1_BE52_7FA09B7DDDB6__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// SetSoundDlg.h : header file
|
|
//
|
|
#include "BmpTxtButton.h"
|
|
#include "BmpProgress.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CSetSoundDlg dialog
|
|
|
|
class CSetSoundDlg : public CDialog
|
|
{
|
|
private:
|
|
CDC m_BgDC;
|
|
int m_Volume; // ÒôÁ¿
|
|
CDC m_MemBeepEnDC;
|
|
CDC m_MemBeepDisDC;
|
|
CFont m_txtFont;
|
|
CFont m_titleFont;
|
|
// Construction
|
|
public:
|
|
DWORD GetSystemVolume();
|
|
CSetSoundDlg(CWnd* pParent = NULL); // standard constructor
|
|
~CSetSoundDlg();
|
|
// Dialog Data
|
|
//{{AFX_DATA(CSetSoundDlg)
|
|
enum { IDD = IDD_DIALOG_SOUND };
|
|
CBmpProgress m_prgVolume;
|
|
CBmpTxtButton m_butDec;
|
|
CBmpTxtButton m_butClose;
|
|
CBmpTxtButton m_butAdd;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CSetSoundDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CSetSoundDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnButtonSetsoundAdd();
|
|
afx_msg void OnButtonSetsoundClose();
|
|
afx_msg void OnButtonSetsoundDec();
|
|
afx_msg void OnPaint();
|
|
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
|
|
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
|
|
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_SETSOUNDDLG_H__F6C72AC2_53B1_42C1_BE52_7FA09B7DDDB6__INCLUDED_)
|