// AnnDemoView.h : interface of the CAnnDemoView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_ANNDEMOVIEW_H__44AA35D0_538F_11D2_B46D_444553540000__INCLUDED_) #define AFX_ANNDEMOVIEW_H__44AA35D0_538F_11D2_B46D_444553540000__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 #include "AnnBmp.h" class CAnnDemoView : public CView { protected: // create from serialization only CAnnDemoView(); DECLARE_DYNCREATE(CAnnDemoView) // Attributes public: CAnnDemoDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CAnnDemoView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual void OnInitialUpdate(); 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 // Implementation public: void OnNewOptions(UINT nID); LONG OnHandlePalette(UINT wp, LONG lp); CAnnDemoBitmap m_LAnnoWnd; BOOL m_bShowToolbar; BOOL m_bDoubleBufferEnabled; static BOOL m_bAnnHilightCustom; HCURSOR m_hCursorDefaultAnnDrawNew; HCURSOR m_hCursorDefaultAnnHandle; HCURSOR m_hCursorDefaultAnnMove; HCURSOR m_hCursorDefaultAnnSelect; HCURSOR m_hCursorAnnDrawNew; HCURSOR m_hCursorAnnHandle; HCURSOR m_hCursorAnnMove; HCURSOR m_hCursorAnnSelect; // LBitmapWindow m_LeadBitmap2; virtual ~CAnnDemoView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CAnnDemoView) afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnFitimage(); afx_msg void OnUpdateFitimage(CCmdUI* pCmdUI); afx_msg void OnNormal(); afx_msg void OnUpdateNormal(CCmdUI* pCmdUI); afx_msg void OnZoom(); afx_msg void OnUpdateZoom(CCmdUI* pCmdUI); afx_msg void OnUpdateViewAnnotatintool(CCmdUI* pCmdUI); afx_msg void OnViewAnnotatintool(); afx_msg void OnToolaudio(); afx_msg void OnUpdateToolCheckMark(CCmdUI* pCmdUI); afx_msg void OnToolellipse(); afx_msg void OnToolbutton(); afx_msg void OnToolfreehand(); afx_msg void OnToolhilite(); afx_msg void OnToolhotspot(); afx_msg void OnToolline(); afx_msg void OnToolnote(); afx_msg void OnToolpointer(); afx_msg void OnToolpolygon(); afx_msg void OnToolpolyline(); afx_msg void OnToolrect(); afx_msg void OnToolredact(); afx_msg void OnToolruler(); afx_msg void OnToolselect(); afx_msg void OnToolstamp(); afx_msg void OnTooltext(); afx_msg void OnUserdesign(); afx_msg void OnUpdateUserdesign(CCmdUI* pCmdUI); afx_msg void OnUserrun(); afx_msg void OnUpdateUserrun(CCmdUI* pCmdUI); afx_msg void OnShowlock(); afx_msg void OnUpdateShowlock(CCmdUI* pCmdUI); afx_msg void OnUnlock(); afx_msg void OnLock(); afx_msg void OnUpdateLock(CCmdUI* pCmdUI); afx_msg void OnUnrealize(); afx_msg void OnRealize(); afx_msg void OnFileSaveAs(); afx_msg void OnViewPanwnd(); afx_msg void OnEditCopy(); afx_msg void OnViewCenterimage(); afx_msg void OnUpdateViewCenterimage(CCmdUI* pCmdUI); afx_msg void OnUpdateIndicatorFileName(CCmdUI* pCmdUI); afx_msg void OnUpdateIndicatorSize(CCmdUI* pCmdUI); afx_msg void OnUpdateIndicatorBPP(CCmdUI* pCmdUI); afx_msg void OnUpdateIndicatorZoom(CCmdUI* pCmdUI); afx_msg void OnUpdateIndicatorMemSize(CCmdUI* pCmdUI); afx_msg void OnDropFiles(HDROP hDropInfo); afx_msg void OnUpdateViewPanwnd(CCmdUI* pCmdUI); afx_msg void OnToolStampApproved(); afx_msg void OnToolpoint(); afx_msg void OnUpdateToolpoint(CCmdUI* pCmdUI); afx_msg void OnToolfreehandhotspot(); afx_msg void OnToolcrossproduct(); afx_msg void OnToolprotractor(); afx_msg void OnToolpushpin(); afx_msg void OnToolvideo(); afx_msg void OnToolStampAssigned(); afx_msg void OnToolStampChecked(); afx_msg void OnToolStampClatprv(); afx_msg void OnToolStampCopy(); afx_msg void OnToolStampDraft(); afx_msg void OnToolStampExtended(); afx_msg void OnToolStampFax(); afx_msg void OnToolStampFaxed(); afx_msg void OnToolStampImportant(); afx_msg void OnToolStampInvoice(); afx_msg void OnToolStampNotice(); afx_msg void OnToolStampOfficial(); afx_msg void OnToolStampOnfile(); afx_msg void OnToolStampPaid(); afx_msg void OnToolStampPassed(); afx_msg void OnToolStampPending(); afx_msg void OnToolStampProcessed(); afx_msg void OnToolStampReceived(); afx_msg void OnToolStampRejected(); afx_msg void OnToolStampRelease(); afx_msg void OnToolStampSent(); afx_msg void OnToolStampShipped(); afx_msg void OnToolStampTopsecret(); afx_msg void OnToolStampUrgent(); afx_msg void OnToolStampVoid(); afx_msg void OnViewDoublebuffer(); afx_msg void OnUpdateViewDoublebuffer(CCmdUI* pCmdUI); afx_msg void OnEditToolCurve(); afx_msg void OnEditToolClosedcurve(); afx_msg void OnEditToolRechtext(); afx_msg void OnEditToolTextpointer(); afx_msg void OnEditToolPolyruler(); afx_msg void OnEditToolEncrypt(); afx_msg void OnUpdateEditToolCurve(CCmdUI* pCmdUI); afx_msg void OnUpdateEditToolClosedcurve(CCmdUI* pCmdUI); afx_msg void OnUpdateEditToolRechtext(CCmdUI* pCmdUI); afx_msg void OnUpdateEditToolTextpointer(CCmdUI* pCmdUI); afx_msg void OnUpdateEditToolPolyruler(CCmdUI* pCmdUI); afx_msg void OnUpdateEditToolEncrypt(CCmdUI* pCmdUI); afx_msg void OnApplydecryptors(); afx_msg void OnApplyencryptors(); afx_msg void OnViewChangeHilightAndCursors(); afx_msg void OnUpdateViewChangehilightandcursors(CCmdUI* pCmdUI); afx_msg void OnNewOptions(); afx_msg void OnUpdateNewOptions(CCmdUI* pCmdUI); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in AnnDemoView.cpp inline CAnnDemoDoc* CAnnDemoView::GetDocument() { return (CAnnDemoDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_ANNDEMOVIEW_H__44AA35D0_538F_11D2_B46D_444553540000__INCLUDED_)