
// PlayerDemoDlg.h : header file
//

#pragma once

#include "PGSoundPlayer.h"

#define UM_PLAY_DONE	WM_USER + 1
// CPlayerDemoDlg dialog
class CPlayerDemoDlg : public CDialogEx
{
// Construction
public:
	CPlayerDemoDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_PLAYERDEMO_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support

private:
	// DSound CPGSoundPlayer Instance
	CPGSoundPlayer m_Player;

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButton1();
	afx_msg LRESULT OnPlayDone(WPARAM wParam, LPARAM lParam);
};
