www.pudn.com > RMS2000_C.rar > ChaView.h
#if !defined(AFX_CHAVIEW_H__7232C261_7BA0_11D4_9C2F_E32072D47413__INCLUDED_)
#define AFX_CHAVIEW_H__7232C261_7BA0_11D4_9C2F_E32072D47413__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ChaView.h : header file
//
#include "PrintListCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CChaView view
class CChaView : public CListView
{
protected:
// CPrintListCtrl* m_cPrintListCtrl;
CChaView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CChaView)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChaView)
public:
virtual void OnInitialUpdate();
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
CChaDoc* GetDocument();
BOOL ShowData(int rtu,int flag);
protected:
virtual ~CChaView();
CImageList* m_pImageList;
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CChaView)
afx_msg void OnDestroy();
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnWindowNew();
afx_msg void OnFileSave();
afx_msg void OnFileSaveAs();
//}}AFX_MSG
afx_msg LRESULT OnRtuData(WPARAM wParam,LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in demoView.cpp
inline CChaDoc* CChaView::GetDocument()
{ return (CChaDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHAVIEW_H__7232C261_7BA0_11D4_9C2F_E32072D47413__INCLUDED_)