home *** CD-ROM | disk | FTP | other *** search
- // ServDeVw.h : interface of the CServDemoView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CServDemoView : public CView
- {
- protected:
- CString m_ClassName;
- int m_Dragging;
- HCURSOR m_HCross;
- CPoint m_PointOld;
- CPoint m_PointOrigin;
- public:
- CSize m_ViewSize;
-
- protected: // create from serialization only
- CServDemoView();
- DECLARE_DYNCREATE(CServDemoView)
-
- // Attributes
- public:
- CServDemoDoc* GetDocument();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CServDemoView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CServDemoView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CServDemoView)
- afx_msg void OnCancelEditSrvr();
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnSize(UINT nType, int cx, int cy);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in ServDeVw.cpp
- inline CServDemoDoc* CServDemoView::GetDocument()
- { return (CServDemoDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-