// scroll1View.h : interface of the Cscroll1View class
//


#pragma once
#include "afxwin.h"


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

// Attributes
public:
        Cscroll1Doc* GetDocument() const;

// Operations
public:

// Overrides
        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);

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

protected:

// Generated message map functions
protected:
        void OnHScroll(UINT nCode, UINT nPos, CScrollBar* pSBar);
        DECLARE_MESSAGE_MAP()
public:
        CScrollBar m_scroll;
        CStatic m_static;
        int nScrollPos;
        char cBuf[10];
        afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
};

#ifndef _DEBUG  // debug version in scroll1View.cpp
inline Cscroll1Doc* Cscroll1View::GetDocument() const
   { return reinterpret_cast<Cscroll1Doc*>(m_pDocument); }
#endif