www.pudn.com > Music.rar > MusicDlg.h
// MusicDlg.h : header file
//
#if !defined(AFX_MUSICDLG_H__A3DE862B_A8B4_43C1_8DEE_08D56B30C953__INCLUDED_)
#define AFX_MUSICDLG_H__A3DE862B_A8B4_43C1_8DEE_08D56B30C953__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define WM_CONTROL WM_USER+100
/////////////////////////////////////////////////////////////////////////////
// CMusicDlg dialog
class CMusicDlg : public CDialog
{
// Construction
public:
void DrawGra(/*int *data1,int * data2,int len*/);
void DrawLine(int x1, int y1, int x2, int y2, int DrawWidth, long rgb);
void OutText(int x, int y, CString str, long textColor, long bkColor, CFont *font);
void DrawRect(int x1, int y1, int x2, int y2, long penColor, long brushColor);
CMusicDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMusicDlg)
enum { IDD = IDD_MUSIC_DIALOG };
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMusicDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMusicDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg void OnQuit();
afx_msg void OnPlay();
afx_msg void OnStop();
afx_msg void OnSendMsg(WPARAM wParam, LPARAM lParam);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int GraTop,GraBottom,GraLeft,GraRight;
CWinThread* myThread1;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MUSICDLG_H__A3DE862B_A8B4_43C1_8DEE_08D56B30C953__INCLUDED_)