// ofstView.h : interface of the COffsetView class // ///////////////////////////////////////////////////////////////////////////// #include "ofsetdoc.h" #if !defined(AFX_OFSTVIEW_H__BB29204D_15A8_11D3_9689_0060087C03DE__INCLUDED_) #define AFX_OFSTVIEW_H__BB29204D_15A8_11D3_9689_0060087C03DE__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class COffsetView : public CView { protected: // create from serialization only COffsetView(); DECLARE_DYNCREATE(COffsetView) // Attributes public: COffsetDoc* GetDocument(); L_BOOL HandlePalette(UINT uMsg,HWND hWnd); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(COffsetView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual void OnInitialUpdate(); protected: virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); //}}AFX_VIRTUAL // Implementation public: LBitmapBase m_LeadBitmap; CString m_strDstFile; CString m_strSrcFile; virtual ~COffsetView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(COffsetView) //}}AFX_MSG DECLARE_MESSAGE_MAP() private: L_INT32 m_nSizeFile; }; #ifndef _DEBUG // debug version in ofstView.cpp inline COffsetDoc* COffsetView::GetDocument() { return (COffsetDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_OFSTVIEW_H__BB29204D_15A8_11D3_9689_0060087C03DE__INCLUDED_)