// LTLMView.h : interface of the CLTLodMemView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_LTLMVIEW_H__33F32548_11B2_11D3_9A58_0060087C0C73__INCLUDED_) #define AFX_LTLMVIEW_H__33F32548_11B2_11D3_9A58_0060087C0C73__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CLTLodMemDoc; class CLTLodMemView : public CView { protected: // create from serialization only CLTLodMemView(); DECLARE_DYNCREATE(CLTLodMemView) // Attributes public: CLTLodMemDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CLTLodMemView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); //}}AFX_VIRTUAL // Implementation public: L_BOOL HandlePalette(UINT uMsg,HWND hWnd); virtual ~CLTLodMemView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CLTLodMemView) afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: LBitmapBase m_LBitmapBase; LMemoryFile m_LMemFile; // Memory file to load the image LBuffer m_LeadBuffer; // Buffer to save the image in }; #ifndef _DEBUG // debug version in LTLMView.cpp inline CLTLodMemDoc* CLTLodMemView::GetDocument() { return (CLTLodMemDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_LTLMVIEW_H__33F32548_11B2_11D3_9A58_0060087C0C73__INCLUDED_)