www.pudn.com > EMplayer.rar > multimediaView.h


// multimediaView.h : interface of the CMultimediaView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MULTIMEDIAVIEW_H__0DC55BF5_BD4D_4315_8D23_4EF997BE7503__INCLUDED_) 
#define AFX_MULTIMEDIAVIEW_H__0DC55BF5_BD4D_4315_8D23_4EF997BE7503__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CMultimediaView : public CView 
{ 
protected: // create from serialization only 
	CMultimediaView(); 
	DECLARE_DYNCREATE(CMultimediaView) 
 
// Attributes 
public: 
	//******代码编写开始 
 
	HWND m_hMCIWnd; 
 
    //******代码编写结束 
	CMultimediaDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMultimediaView) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual void OnInitialUpdate(); 
	protected: 
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CMultimediaView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CMultimediaView) 
		// NOTE - the ClassWizard will add and remove member functions here. 
		//    DO NOT EDIT what you see in these blocks of generated code ! 
	//}}AFX_MSG 
 
	//******代码编写开始 
 
	afx_msg LONG OnNotifySize(UINT wParam,LONG lParam); 
 
    //******代码编写结束 
 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in multimediaView.cpp 
inline CMultimediaDoc* CMultimediaView::GetDocument() 
   { return (CMultimediaDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MULTIMEDIAVIEW_H__0DC55BF5_BD4D_4315_8D23_4EF997BE7503__INCLUDED_)