// ZoomViewView.h : interface of the CZoomViewView class // ///////////////////////////////////////////////////////////////////////////// //{{AFX_INCLUDES() #include "leadrasterview.h" //}}AFX_INCLUDES #if !defined(AFX_ZOOMVIEWVIEW_H__BB1DEC35_F695_450C_B4B8_24B9DAB7C0ED__INCLUDED_) #define AFX_ZOOMVIEWVIEW_H__BB1DEC35_F695_450C_B4B8_24B9DAB7C0ED__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CZoomViewView : public CFormView { protected: // create from serialization only CZoomViewView(); DECLARE_DYNCREATE(CZoomViewView) public: //{{AFX_DATA(CZoomViewView) enum { IDD = IDD_ZOOMVIEW_FORM }; CLEADRasterView m_RasterView; //}}AFX_DATA // Attributes public: CZoomViewDoc* GetDocument(); int PointInZoomView(POINT *pt); void RecalcSizes(); void SetZoom(int percent); int m_nZoomViewIndex; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CZoomViewView) public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support virtual void OnInitialUpdate(); // called first time after construct virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint); //}}AFX_VIRTUAL // Implementation public: virtual ~CZoomViewView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CZoomViewView) afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnFileSave(); afx_msg void OnEditCopy(); afx_msg void OnMouseUpLeadRasterView(short Button, short Shift, float x, float y); afx_msg void OnMouseDownLeadRasterView(short Button, short Shift, float x, float y); afx_msg void OnZoomViewOptions(); afx_msg void OnZoomViewDelete(); afx_msg void OnViewNormal(); afx_msg BOOL OnEraseBkgnd(CDC* pDC); afx_msg void OnUpdateViewNormal(CCmdUI* pCmdUI); afx_msg void OnViewFitimagetowindow(); afx_msg void OnUpdateViewFitimagetowindow(CCmdUI* pCmdUI); afx_msg void OnViewZoom(); afx_msg void OnUpdateViewZoom(CCmdUI* pCmdUI); afx_msg void OnViewHiliteimage(); afx_msg void OnUpdateViewHiliteimage(CCmdUI* pCmdUI); afx_msg void OnAbout(); afx_msg void OnKeyPressLeadRasterView(short KeyAscii); afx_msg void OnKeyDownLeadRasterView(short KeyCode, short Shift); afx_msg void OnDestroy(); DECLARE_EVENTSINK_MAP() //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in ZoomViewView.cpp inline CZoomViewDoc* CZoomViewView::GetDocument() { return (CZoomViewDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_ZOOMVIEWVIEW_H__BB1DEC35_F695_450C_B4B8_24B9DAB7C0ED__INCLUDED_)