www.pudn.com > 1littlebox.rar > littleboxDlg.h


// littleboxDlg.h : header file 
// 
 
#if !defined(AFX_LITTLEBOXDLG_H__DDC57051_F766_4070_8EB9_2C7E80C27789__INCLUDED_) 
#define AFX_LITTLEBOXDLG_H__DDC57051_F766_4070_8EB9_2C7E80C27789__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "midi.h" 
#include "Wave.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CLittleboxDlg dialog 
 
class CLittleboxDlg : public CDialog 
{ 
// Construction 
public: 
	CLittleboxDlg(CWnd* pParent = NULL);	// standard constructor 
     
	CMidi m_Midi; 
	CWave m_Wave; 
 
public: 
 
    int hour,minute,second; 
    DWORD cdlen; 
	DWORD getinfo(DWORD item); 
	DWORD m_count; 
 
 
	CString aa; 
	CString file[255]; 
	CString file1[255]; 
	int fi,fr; 
	DWORD cdfrom,cdto; 
 
	BOOL m_flag,m_flag1,m_flag2,m_flag3,m_flag4; 
 
	void comp(); 
	void forfor(); 
	void forfor1(); 
	void Tplay(); 
	 
// Dialog Data 
	//{{AFX_DATA(CLittleboxDlg) 
	enum { IDD = IDD_LITTLEBOX_DIALOG }; 
	CProgressCtrl	m_ProgressBar; 
	CEdit	m_source; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CLittleboxDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
    CStatusBar  m_wndStatusBar; 
    CToolBar    m_wndToolBar; 
	 
	CString m_openFileName; 
	CString m_openFilePath; 
	CString m_openFileSize; 
	CString m_openFileType; 
	 
	BOOL m_running_status; 
	BOOL m_load_status; 
 
	int m_media_type; 
	int m_media_time_long; 
	// Generated message map functions 
	//{{AFX_MSG(CLittleboxDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnMenuitem32778(); 
	afx_msg void OnFileOpen(); 
	afx_msg void OnFileClose(); 
	afx_msg void OnFilePlay(); 
	afx_msg void OnFileStop(); 
	afx_msg void OnFileBrowse(); 
	afx_msg void OnPlay(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnStop(); 
	afx_msg void OnVolumeControl(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_LITTLEBOXDLG_H__DDC57051_F766_4070_8EB9_2C7E80C27789__INCLUDED_)