// scroll2View.h : interface of the CScroll2View class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_SCROLL2VIEW_H__5CE7DBEF_C567_11D5_B5B9_444553540000__INCLUDED_)
#define AFX_SCROLL2VIEW_H__5CE7DBEF_C567_11D5_B5B9_444553540000__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CScroll2View : public CView
{
protected: // create from serialization only
        CScroll2View();
        DECLARE_DYNCREATE(CScroll2View)

// Attributes
public:
        CScroll2Doc* GetDocument();

// Operations
public:

// Overrides
        // ClassWizard generated virtual function overrides
        //{{AFX_VIRTUAL(CScroll2View)
        public:
        virtual void OnDraw(CDC* pDC);  // overridden to draw this view
        virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
        protected:
        virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
        virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
        virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
        //}}AFX_VIRTUAL

// Implementation
public:
        int m_ScrollPos;
        virtual ~CScroll2View();
#ifdef _DEBUG
        virtual void AssertValid() const;
        virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
        //{{AFX_MSG(CScroll2View)
        afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
        afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
        //}}AFX_MSG
        DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in scroll2View.cpp
inline CScroll2Doc* CScroll2View::GetDocument()
   { return (CScroll2Doc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SCROLL2VIEW_H__5CE7DBEF_C567_11D5_B5B9_444553540000__INCLUDED_)