volume.h

来自「VC++6开发指南的源代码第24章-第25章」· C头文件 代码 · 共 45 行

H
45
字号
////////////////////////////////////////////////////////////////////////////
//
//
//    Project     : PTPHelp version 1.1.
//    Description : Peer to Peer Video Conferencing over the LAN.
//	  Author      :	Nagareshwar Y Talekar ( nsry2002@yahoo.co.in)
//    Date        : 15-6-2004.
//
//
//    File description : 
//    Name    : Volume.h
//    Details : Dialog class for Volume Control
//
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_VOLUME_H__0423C7A1_4B57_11D6_8886_B01554C10000__INCLUDED_)
#define AFX_VOLUME_H__0423C7A1_4B57_11D6_8886_B01554C10000__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include<afxcmn.h>
#include"Mixer.h"

class Volume : public CDialog  
{
public:
	CMixer *mixrec,*mixplay;
	CSliderCtrl *srec,*splay;
	
	Volume(int n);
	BOOL OnInitDialog();
	void OnHScroll(UINT code,UINT pos,CScrollBar *scroll);
	HBRUSH OnCtlColor(CDC *pdc,CWnd *pwnd,UINT ctrl);
	void OnPaint();


	DECLARE_MESSAGE_MAP()

};

#endif // !defined(AFX_VOLUME_H__0423C7A1_4B57_11D6_8886_B01554C10000__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?