www.pudn.com > DialogBar调用切分窗口.rar > RightView.h
#if !defined(AFX_RIGHTVIEW_H__00876711_0917_406A_AB08_96195BB556CF__INCLUDED_)
#define AFX_RIGHTVIEW_H__00876711_0917_406A_AB08_96195BB556CF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RightView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CRightView view
#include "taskDoc.h"
#include "myline.h"
class CRightView : public CScrollView
{
protected:
CRightView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CRightView)
// Attributes
public:
CTaskDoc* GetDocument();
public:
CPoint m_ptPrev;
CTypedPtrListm_ptList;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRightView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnInitialUpdate(); // first time after construct
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CRightView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CRightView)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RIGHTVIEW_H__00876711_0917_406A_AB08_96195BB556CF__INCLUDED_)