// netView.h : interface of the CNetView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_NETVIEW_H__671D31E0_1141_11D4_812A_00105A07EA1C__INCLUDED_) #define AFX_NETVIEW_H__671D31E0_1141_11D4_812A_00105A07EA1C__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 class CNetView : public CView { protected: // create from serialization only CNetView(); DECLARE_DYNCREATE(CNetView) // Attributes public: CNetDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CNetView) 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); virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); //}}AFX_VIRTUAL afx_msg LRESULT OnHandlePalette(WPARAM wParam, LPARAM lParam); // Implementation public: void UpdateStatusbar(LPCTSTR lpszString); virtual ~CNetView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CNetView) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnLocalSendbitmap(); afx_msg void OnUpdateLocalSendbitmap(CCmdUI* pCmdUI); afx_msg void OnFileSaveAs(); afx_msg void OnUpdateFileSaveAs(CCmdUI* pCmdUI); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in netView.cpp inline CNetDoc* CNetView::GetDocument() { return (CNetDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_NETVIEW_H__671D31E0_1141_11D4_812A_00105A07EA1C__INCLUDED_)