www.pudn.com > LrcMaker.zip > LrcMakerDlg.h
// LrcMakerDlg.h : header file
//
//{{AFX_INCLUDES()
#include "wmpplayer4.h"
//}}AFX_INCLUDES
#if !defined(AFX_LRCMAKERDLG_H__485AE8C4_DC95_449A_A4D9_0E895D495A02__INCLUDED_)
#define AFX_LRCMAKERDLG_H__485AE8C4_DC95_449A_A4D9_0E895D495A02__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "LyricStatic.h"
typedef struct {
unsigned char min;
unsigned char sec;
unsigned short ms;
} TIMEINFO;
/////////////////////////////////////////////////////////////////////////////
// CLrcMakerDlg dialog
class CLrcMakerDlg : public CDialog
{
// Construction
public:
TIMEINFO * tminfo;
BOOL bPlaying;
int nIndex;
CString strVoiceFile;
BOOL IsFileExist(LPCTSTR strFile);
BYTE * LoadFont(char *path);
LONG GetFileLength(LPCTSTR fname);
CLrcMakerDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CLrcMakerDlg)
enum { IDD = IDD_LRCMAKER_DIALOG };
CScrollBar m_VScrollBarCtrl;
CLyricStatic m_ctrlView;
CListBox m_ctrlListBox;
CWMPPlayer4 m_ctrlPlayer;
BOOL m_bSimulation;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLrcMakerDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CLrcMakerDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnAudio();
afx_msg void OnText();
afx_msg void OnPlay();
afx_msg void OnLocate();
afx_msg void OnSave();
afx_msg void OnSimulation();
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnSelchangeList();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnPlayStateChangePlayer(long NewState);
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LRCMAKERDLG_H__485AE8C4_DC95_449A_A4D9_0E895D495A02__INCLUDED_)