www.pudn.com > 1littlebox.rar > VolumeControl.h
#if !defined(AFX_VOLUMECONTROL_H__A7C8B42A_82BB_4E0C_9290_C13DA81AC07F__INCLUDED_)
#define AFX_VOLUMECONTROL_H__A7C8B42A_82BB_4E0C_9290_C13DA81AC07F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// VolumeControl.h : header file
//
#include "volumcontrol.h"
#include "mutecontrol.h"
#include "mmsystem.h"
/////////////////////////////////////////////////////////////////////////////
// CVolumeControl dialog
class CVolumeControl : public CDialog
{
// Construction
public:
CVolumeControl(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CVolumeControl)
enum { IDD = IDD_DIALOG1 };
CEdit m_static_key;
CSliderCtrl m_wave_out_right_control;
CSliderCtrl m_wave_out_left_control;
CSliderCtrl m_main_left_control;
CSliderCtrl m_main_right_control;
CProgressCtrl m_wave_out_left_show;
CProgressCtrl m_wave_out_right_show;
CProgressCtrl m_micphone_show;
CSliderCtrl m_micphone_control;
CButton m_mute_micphone;
CButton m_mute_wave_out;
CButton m_mute_main;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CVolumeControl)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void OnMixerChange(WPARAM wparam,LPARAM lparam);
HICON m_hIcon;
mutecontrol m_mmv;
mutecontrol m_mmw;
mutecontrol m_mmm;
volumcontrol m_vvv;
volumcontrol m_vvw;
volumcontrol m_vvm;
volumcontrol m_ppw;
volumcontrol m_ppm;
// Generated message map functions
//{{AFX_MSG(CVolumeControl)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnClose();
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnMuteMain();
afx_msg void OnMuteWave();
afx_msg void OnMuteMicphone();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VOLUMECONTROL_H__A7C8B42A_82BB_4E0C_9290_C13DA81AC07F__INCLUDED_)