Click here to Skip to main content
15,884,388 members
Articles / Desktop Programming / MFC

Effecto Player

Rate me:
Please Sign up or sign in to vote.
4.78/5 (39 votes)
23 Sep 20035 min read 163.6K   14.8K   97  
Media audio player with 3D and 2D effects and skinning.
#include "l.h"

#if !defined(AFX_PLAYLISTDLG_H__FD90B061_B82F_11D6_BCAA_BC125A4CA367__INCLUDED_)
#define AFX_PLAYLISTDLG_H__FD90B061_B82F_11D6_BCAA_BC125A4CA367__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PlayListDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPlayListDlg dialog

class CPlayListDlg : public CDialog
{
// Construction
public:
	DECLARE_DYNAMIC(CPlayListDlg)
	void AddSong(CString song,DWORD index);
	void LoadSkin(LPCTSTR filename);
	CPlayListDlg(CWnd* pParent = NULL);   // standard constructor

	CBitmap m_bmDents;
	CBrush m_brDents;

	Cl	m_PlayList;
	CRect m_myRect;
	
// Dialog Data
	//{{AFX_DATA(CPlayListDlg)
	enum { IDD = IDD_DIALOG2 };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPlayListDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPlayListDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	virtual void OnOk();
	virtual void OnCancel();
	afx_msg void OnSelchangeSong();
	afx_msg void OnDblclkSong();
		afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags) ;
	afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) ;	

	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PLAYLISTDLG_H__FD90B061_B82F_11D6_BCAA_BC125A4CA367__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Egypt Egypt
My name is Ahmed Ismaiel Zakaria
i'm programming c++ & visual c++ (MFC )& Visual basic and recently COM,ATL
Student in Faculty of computer and information science in Egypt

Comments and Discussions