// CpCBView.h : interface of the CCompCBView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_CPCBVIEW_H__69B1106D_11DE_11D3_9689_0060087C03DE__INCLUDED_) #define AFX_CPCBVIEW_H__69B1106D_11DE_11D3_9689_0060087C03DE__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "UMemFile.h" #include "CmpCBDoc.h" #define BUFFER_SIZE 8192 #define NLINES 16 class CCompCBView : public CView { protected: // create from serialization only CCompCBView(); DECLARE_DYNCREATE(CCompCBView) // Attributes public: CCompCBDoc* GetDocument(); L_BOOL HandlePalette(UINT uMsg,HWND hWnd); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CCompCBView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view protected: virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); //}}AFX_VIRTUAL // Implementation public: LUserMemoryFile m_LeadMemFile; LBitmapBase m_LeadBitmap; virtual ~CCompCBView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CCompCBView) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnTimer(UINT nIDEvent); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: L_INT m_nTimer; L_INT m_nCount; L_INT32 m_nBytesPerLine; L_INT m_nOperation; L_BOOL m_bFirst; CString m_strSrcFile; CString m_strDstFile; }; #ifndef _DEBUG // debug version in CpCBView.cpp inline CCompCBDoc* CCompCBView::GetDocument() { return (CCompCBDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_CPCBVIEW_H__69B1106D_11DE_11D3_9689_0060087C03DE__INCLUDED_)