www.pudn.com > LECTEUR-MP3.zip > ControlView.h


#if !defined(AFX_CONTROLVIEW_H__C3398D9B_6357_4AC3_96D5_3CC803E066AB__INCLUDED_) 
#define AFX_CONTROLVIEW_H__C3398D9B_6357_4AC3_96D5_3CC803E066AB__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// ControlView.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CControlView form view 
 
#ifndef __AFXEXT_H__ 
#include  
#endif 
 
#include "resource.h" 
#include "MusGestDoc.h" 
#include "UniButton.h" 
#include "ColorFormView.h" 
#include "MacSliderCtrl.h" 
 
 
class CControlView : public CColorFormView 
{ 
protected: 
	CControlView();           // protected constructor used by dynamic creation 
	DECLARE_DYNCREATE(CControlView) 
 
// Form Data 
public: 
	//{{AFX_DATA(CControlView) 
	enum { IDD = IDD_PLAY_LIST_BAR }; 
	//}}AFX_DATA 
 
	void SetFileTime(int iWait); 
	CView * GetInPlayView(); 
 
// Attributes 
public: 
 
	CUniButton m_BtnPause, m_BtnPlaySel, m_BtnStop, m_BtnPlayList; 
	CUniButton m_BtnAv, m_BtnAr, m_BtnOption; 
 
	CMacSliderCtrl m_Slider; 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CControlView) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	virtual ~CControlView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
	virtual void OnInitialUpdate();  
 
private : 
 
		int m_iWait; //en miliseconde 
		int m_iCpt; 
		CMusGestDoc * m_pDoc; 
 
protected : 
 
	// Generated message map functions 
	//{{AFX_MSG(CControlView) 
		afx_msg LRESULT OnMajTime(WPARAM w, LPARAM l); 
		afx_msg LRESULT OnEndFile(WPARAM w, LPARAM l); 
		afx_msg void OnOption(); 
		afx_msg void OnPlayPlaylist(); 
		afx_msg void OnPlaySelection(); 
		afx_msg void OnStop(); 
		afx_msg void OnPause(); 
		afx_msg void OnRecule(); 
		afx_msg void OnAvance(); 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CONTROLVIEW_H__C3398D9B_6357_4AC3_96D5_3CC803E066AB__INCLUDED_)