www.pudn.com > GpsSimulation.rar > MyListView.h


#if !defined(AFX_MYLISTVIEW_H__291995C1_86EE_11D7_80DF_000021E3C617__INCLUDED_) 
#define AFX_MYLISTVIEW_H__291995C1_86EE_11D7_80DF_000021E3C617__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// MyListView.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CMyListView view 
#include  
#include "RyxGpsDoc.h" 
class CMyListView : public CListView 
{ 
protected: 
	CMyListView();           // protected constructor used by dynamic creation 
	DECLARE_DYNCREATE(CMyListView) 
 
// Attributes 
public: 
	CRyxGpsDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMyListView) 
	public: 
	virtual void OnInitialUpdate(); 
	protected: 
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	virtual ~CMyListView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
	// Generated message map functions 
protected: 
	//{{AFX_MSG(CMyListView) 
		// NOTE - the ClassWizard will add and remove member functions here. 
	//}}AFX_MSG 
	afx_msg void OnMyNotify(WPARAM wParam,LPARAM lParam); 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
#ifndef _DEBUG  // debug version in RyxGpsView.cpp 
inline CRyxGpsDoc* CMyListView::GetDocument() 
   { return (CRyxGpsDoc*)m_pDocument; } 
#endif 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MYLISTVIEW_H__291995C1_86EE_11D7_80DF_000021E3C617__INCLUDED_)