www.pudn.com > dllDSPlayer1.rar > T_dllDSPlayerDlg.h


// T_dllDSPlayerDlg.h : header file 
// 
 
#if !defined(AFX_T_DLLDSPLAYERDLG_H__A7422F44_41AB_4131_99A9_E9C66BF5D8A8__INCLUDED_) 
#define AFX_T_DLLDSPLAYERDLG_H__A7422F44_41AB_4131_99A9_E9C66BF5D8A8__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
// 添加动态连接库信息 
#include "..\dllDSPlayer.h" 
#define SLIDER_TIMER 100 
 
///////////////////////////////////////////////////////////////////////////// 
// CT_dllDSPlayerDlg dialog 
 
class CT_dllDSPlayerDlg : public CDialog 
{ 
// Construction 
public: 
	CT_dllDSPlayerDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CT_dllDSPlayerDlg) 
	enum { IDD = IDD_T_DLLDSPLAYER_DIALOG }; 
	CSliderCtrl	m_SliderGraph; 
	CStatic	m_VideoWindow; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CT_dllDSPlayerDlg) 
	public: 
	virtual BOOL PreTranslateMessage(MSG* pMsg); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CT_dllDSPlayerDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnBUTTONPlay(); 
	afx_msg BOOL OnEraseBkgnd(CDC* pDC); 
	afx_msg void OnBUTTONPause(); 
	afx_msg void OnBUTTONStop(); 
	afx_msg void OnBUTTONGrabImage(); 
	afx_msg void OnBUTTONFullScreen(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnDestroy(); 
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); 
	afx_msg void OnSelchangeCOMBOAudioDevice(); 
	afx_msg void OnSelchangeComboCdrom(); 
	afx_msg void OnSelchangeCOMBOTrack(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
private: 
	BOOL Play ( LPCTSTR lpszMediaFileName ); 
	void AddCDAllTracksToCombo ( int nTrackNum ); 
	void ShowCDROMDrivers(); 
	LRESULT OnGraphNotify ( WPARAM wParam, LPARAM lParam ); 
	void RestoreFromFullScreen(); 
	CDSPlayer m_DSPlayer; 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_T_DLLDSPLAYERDLG_H__A7422F44_41AB_4131_99A9_E9C66BF5D8A8__INCLUDED_)