www.pudn.com > DVBPlayer.rar > appView.h, change:2004-07-08,size:2428b


// appView.h : interface of the CAppView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_APPVIEW_H__B4024DBD_E90C_47B9_94A3_5944B8FF9E10__INCLUDED_) 
#define AFX_APPVIEW_H__B4024DBD_E90C_47B9_94A3_5944B8FF9E10__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
#include "XTabCtrl.h" 
#include "TrackLookButton.h" 
 
 
 
class CAppView : public CView 
{ 
protected: // create from serialization only 
	CAppView(); 
	DECLARE_DYNCREATE(CAppView) 
 
public: 
	//{{AFX_DATA(CAppView) 
//	enum{ IDD = IDD_APP_FORM }; 
		// NOTE: the ClassWizard will add data members here 
	//}}AFX_DATA 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CAppView) 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	virtual void OnInitialUpdate(); // called first time after construct 
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnDraw(CDC* pDC); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CAppView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CAppView) 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); 
	afx_msg BOOL OnEraseBkgnd(CDC* pDC); 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
 
 
	CXTabCtrl m_tab ;  
	CSliderCtrl m_vol ;  
	CTrackLookButton m_bt_vol ;  
 
	CStatic m_pad1 ;  
	CStatic m_pad2 ;  
}; 
 
 
#if 0 
#ifndef _DEBUG  // debug version in appView.cpp 
inline CAppDoc* CAppView::GetDocument() 
   { return (CAppDoc*)m_pDocument; } 
#endif 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_APPVIEW_H__B4024DBD_E90C_47B9_94A3_5944B8FF9E10__INCLUDED_)