// staticView.h : interface of the CStaticView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_STATICVIEW_H__07811151_BE5E_11D5_B5B9_00106090150C__INCLUDED_)
#define AFX_STATICVIEW_H__07811151_BE5E_11D5_B5B9_00106090150C__INCLUDED_

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


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

// Attributes
public:
        CStaticDoc* GetDocument();

// Operations
public:

// Overrides
        // ClassWizard generated virtual function overrides
        //{{AFX_VIRTUAL(CStaticView)
        public:
        virtual void OnDraw(CDC* pDC);  // overridden to draw this view
        virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
        protected:
        //}}AFX_VIRTUAL

// Implementation
public:
        char cBuf[50];
        int m_n;
        CStatic myStaticCtrl;
        virtual ~CStaticView();
#ifdef _DEBUG
        virtual void AssertValid() const;
        virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
        //{{AFX_MSG(CStaticView)
        afx_msg void OnShow();
        afx_msg void OnSend();
        afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
        afx_msg void OnDestroy();
        //}}AFX_MSG
        DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in staticView.cpp
inline CStaticDoc* CStaticView::GetDocument()
   { return (CStaticDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_STATICVIEW_H__07811151_BE5E_11D5_B5B9_00106090150C__INCLUDED_)