// RstView.h : interface of the CRstDemoView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_RSTVIEW_H__F19F6DA8_033E_11D4_8735_00E0295AF9CE__INCLUDED_) #define AFX_RSTVIEW_H__F19F6DA8_033E_11D4_8735_00E0295AF9CE__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 class CRstDemoView : public CView { protected: // create from serialization only CRstDemoView(); DECLARE_DYNCREATE(CRstDemoView) // Attributes public: CRstDemoDoc* GetDocument(); // Operations public: LRasterPaintWindow m_RasterPntWnd; LRasterDialog m_PaintDialog; L_TCHAR m_szFileName[256] ; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CRstDemoView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); //}}AFX_VIRTUAL // Implementation public: virtual ~CRstDemoView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CRstDemoView) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnPropsBrush(); afx_msg void OnPropsFill(); afx_msg void OnPropsRegion(); afx_msg void OnPropsShape(); afx_msg void OnPropsText(); afx_msg void OnEditCopy(); afx_msg void OnEditPaste(); afx_msg void OnEditRedo(); afx_msg void OnEditUndo(); afx_msg void OnEditCut(); afx_msg void OnEditClear(); afx_msg void OnSelectAll(); afx_msg void OnSelectNone(); afx_msg void OnFilePrint(); afx_msg void OnUpdateEditRedo(CCmdUI* pCmdUI); afx_msg void OnUpdateEditUndo(CCmdUI* pCmdUI); afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); //}}AFX_MSG afx_msg LRESULT OnHandlePalette(WPARAM wParam, LPARAM lParam); DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in RstView.cpp inline CRstDemoDoc* CRstDemoView::GetDocument() { return (CRstDemoDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_RSTVIEW_H__F19F6DA8_033E_11D4_8735_00E0295AF9CE__INCLUDED_)