www.pudn.com > MidiReader.rar > MidiReaderDlg.h
// MidiReaderDlg.h : 头文件 // #include#include #include #include #include #include #include #include #include "afxwin.h" #include "cwmpplayer4.h" using namespace std; using namespace boost; using namespace boost::lambda; #pragma once // CMidiReaderDlg 对话框 class CMidiReaderDlg : public CDialog { // 构造 public: CMidiReaderDlg(CWnd* pParent = NULL); // 标准构造函数 // 对话框数据 enum { IDD = IDD_MIDIREADER_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 // 实现 protected: HICON m_hIcon; // 生成的消息映射函数 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 OnBnClickedOpenmidi(); private: CString m_SourceFile; CListBox m_listInfo; CWMPPlayer4 m_player; afx_msg void OnBnClickedPlaymidi(); };