www.pudn.com > VC写的MP3播放器源代码.zip > FileListDlg.h


#if !defined(AFX_FILELISTDLG_H__71E6BDA5_0A79_11D1_95CB_0000E8713613__INCLUDED_) 
#define AFX_FILELISTDLG_H__71E6BDA5_0A79_11D1_95CB_0000E8713613__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// FileListDlg.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CFileListDlg dialog 
#include "bitmapdialog.h" 
#include "DelListFiles.h" 
 
#define WM_SETCHANGED WM_USER+100 
#define WM_PLAYCHANGED WM_USER+101 
#define WM_FILECHANGED WM_USER+102 
class CFileListDlg : public CBitmapDialog 
{ 
// Construction 
public: 
	CFileListDlg(CWnd* pParent = NULL);   // standard constructor 
	CBitmapButton Button1; 
	CBitmapButton Button2; 
	CBitmapButton Button3; 
	CBitmapButton Button4; 
	CBitmapButton ButtonSave; 
 
	CBitmapButton btnHelp; 
	CBitmapButton btnAbout; 
	CBitmapButton btnMin; 
	CBitmapButton btnClose; 
	HBRUSH		m_hbrDlg; 
	CPictureObject *pFileObject; 
	int nCurSel; 
	void ReadFromM3U(const char * cFileName); 
 
	////////////////////// 
	BOOL	m_bArchived; 
	BOOL	m_bCompressed; 
	BOOL	m_bDirectory; 
	BOOL	m_bHidden; 
	BOOL	m_bNormal; 
	BOOL	m_bOffline; 
	BOOL	m_bReadOnly; 
	BOOL	m_bIncludeSubfolders; 
	BOOL	m_bSystem; 
	BOOL	m_bTemporary; 
	void FindProjectFiles(CString strDirectory,CString strFileName); 
	void UpdateListBox(); 
// Dialog Data 
	//{{AFX_DATA(CFileListDlg) 
	enum { IDD = IDD_DIALOG_LIST }; 
	CDelListFiles	m_List; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CFileListDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CFileListDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); 
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point); 
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point); 
	afx_msg void OnButtonAbout(); 
	afx_msg void OnButtonClose(); 
	afx_msg void OnButtonHelp(); 
	afx_msg void OnButtonMin(); 
	afx_msg void OnSelchangeList1(); 
	afx_msg void OnButtonSave(); 
	afx_msg void OnButton1(); 
	afx_msg void OnButton2(); 
	afx_msg void OnButton3(); 
	afx_msg void OnButton4(); 
	//}}AFX_MSG 
	afx_msg LRESULT OnPlayChange(WPARAM wp, LPARAM lp); 
	DECLARE_MESSAGE_MAP() 
	 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_FILELISTDLG_H__71E6BDA5_0A79_11D1_95CB_0000E8713613__INCLUDED_)