www.pudn.com > disk-filter.gz > Diskf_AppView.h, change:2006-04-12,size:2117b


// Diskf_AppView.h : interface of the CDiskf_AppView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_DISKF_APPVIEW_H__C851850D_C4BE_4AB8_A3E0_8B1CFAEF2F31__INCLUDED_) 
#define AFX_DISKF_APPVIEW_H__C851850D_C4BE_4AB8_A3E0_8B1CFAEF2F31__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include <afxcview.h> 
 
class CDiskf_AppView : public CListView 
{ 
protected: // create from serialization only 
	CDiskf_AppView(); 
	DECLARE_DYNCREATE(CDiskf_AppView) 
 
// Attributes 
public: 
	CDiskf_AppDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDiskf_AppView) 
	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 ~CDiskf_AppView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
	HANDLE  m_hDevice; 
	UINT    m_Timer; 
	BOOL    m_bLogStared; 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CDiskf_AppView) 
	afx_msg void OnBtnStart(); 
	afx_msg void OnBtnStop(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnUpdateBtnStart(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateBtnStop(CCmdUI* pCmdUI); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in Diskf_AppView.cpp 
inline CDiskf_AppDoc* CDiskf_AppView::GetDocument() 
   { return (CDiskf_AppDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DISKF_APPVIEW_H__C851850D_C4BE_4AB8_A3E0_8B1CFAEF2F31__INCLUDED_)