// ZoomViewView.h : interface of the CZoomViewView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_ZOOMVIEWVIEW_H__0E89DE8F_6A52_4EA3_AF8F_53EA3EC0EE25__INCLUDED_) #define AFX_ZOOMVIEWVIEW_H__0E89DE8F_6A52_4EA3_AF8F_53EA3EC0EE25__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CZoomViewView : public CView { protected: // create from serialization only CZoomViewView(); DECLARE_DYNCREATE(CZoomViewView) // Attributes public: CZoomViewDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CZoomViewView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: //}}AFX_VIRTUAL // Implementation public: LAnnotationWindow m_LBitmapWnd; virtual ~CZoomViewView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif private: L_INT m_nZoomViewIndex; L_INT m_nBitonalScaling; int PointInZoomView(POINT *pt); BOOL m_bLButton; RECT m_rcOldClip; protected: // Generated message map functions protected: //{{AFX_MSG(CZoomViewView) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnFileSave(); afx_msg void OnViewNormal(); afx_msg void OnUpdateViewNormal(CCmdUI* pCmdUI); afx_msg void OnViewFitImage(); afx_msg void OnUpdateViewFitImage(CCmdUI* pCmdUI); afx_msg void OnViewZoom(); afx_msg void OnEditCopy(); afx_msg void OnViewHiliteimage(); afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); afx_msg void OnLButtonUp(UINT nFlags, CPoint point); afx_msg void OnLButtonDown(UINT nFlags, CPoint point); afx_msg void OnZoomViewOptions(); afx_msg void OnZoomViewDelete(); afx_msg void OnAbout(); afx_msg void OnBitonalNormal(); afx_msg void OnUpdateBitonalNormal(CCmdUI* pCmdUI); afx_msg void OnFavorBlack(); afx_msg void OnUpdateFavorBlack(CCmdUI* pCmdUI); afx_msg void OnScaleToGray(); afx_msg void OnUpdateScaleToGray(CCmdUI* pCmdUI); afx_msg void OnUpdateViewHiliteImage(CCmdUI* pCmdUI); afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags); //}}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__0E89DE8F_6A52_4EA3_AF8F_53EA3EC0EE25__INCLUDED_)