www.pudn.com > ±ÏÒµÁôÄî²á.rar > ClassmatePage.h
#if !defined(AFX_CLASSMATEPAGE_H__5D3E9314_444C_49AD_A27D_2E396BD0CEF9__INCLUDED_)
#define AFX_CLASSMATEPAGE_H__5D3E9314_444C_49AD_A27D_2E396BD0CEF9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ClassmatePage.h : header file
//
#include "ClasseManager.h"
#include "Student.h"
#include "Dib.h" // Added by ClassView
#include "WaveAudio.h" // Added by ClassView
#include "ButtonST.h" // Added by ClassView
/////////////////////////////////////////////////////////////////////////////
// CClassmatePage dialog
class CClassmatePage : public CPropertyPage
{
DECLARE_DYNCREATE(CClassmatePage)
// Construction
public:
CClassmatePage();
~CClassmatePage();
// Dialog Data
//{{AFX_DATA(CClassmatePage)
enum { IDD = IDD_CLASSMATE };
CString m_strClass;
CString m_Liuyan;
//}}AFX_DATA
public:
CButtonST m_NextPicbnt;
CButtonST m_FronPicbnt;
CButtonST m_StopRecbnt;
CButtonST m_PlayRecbnt;
CButtonST m_Nextbnt;
CButtonST m_Fronbnt;
BOOL m_StuIsEmpt;
CWaveAudio m_WavLiuyan;
void Show();
void GetPicture();
CDib m_Picture;
void Show(CDC*pDC,CStudent*stu);
CClasseManager *m_Classe;
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CClassmatePage)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CClassmatePage)
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnPaint();
afx_msg void OnForworadPhoto();
afx_msg void OnNextPhoto();
afx_msg void OnPageup();
afx_msg void OnPagedown();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnRecPlay();
afx_msg void OnRecStop();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int m_PicNum;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CLASSMATEPAGE_H__5D3E9314_444C_49AD_A27D_2E396BD0CEF9__INCLUDED_)