// LTLMCbVw.h : interface of the CLTLMemCbView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_LTLMCBVW_H__33F3256F_11B2_11D3_9A58_0060087C0C73__INCLUDED_) #define AFX_LTLMCBVW_H__33F3256F_11B2_11D3_9A58_0060087C0C73__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CLTLMemCbView : public CView { protected: // create from serialization only CLTLMemCbView(); DECLARE_DYNCREATE(CLTLMemCbView) // Attributes public: CLTLMemCbDoc* GetDocument(); // Operations public: L_BOOL HandlePalette(UINT uMsg,HWND hWnd); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CLTLMemCbView) 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: virtual ~CLTLMemCbView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CLTLMemCbView) afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); //}}AFX_MSG DECLARE_MESSAGE_MAP() afx_msg LRESULT PaintwhileLoad(WPARAM wParam, LPARAM lParam); private: LUserBitmap m_LUserBitmap; // User bitmap. LBuffer m_LeadBuffer; // Buffer to store image in FILEINFO m_fi; // Structure to save image info. L_INT LoadFileIntoBuffer(); // Save the image into buffer }; #ifndef _DEBUG // debug version in LTLMCbVw.cpp inline CLTLMemCbDoc* CLTLMemCbView::GetDocument() { return (CLTLMemCbDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_LTLMCBVW_H__33F3256F_11B2_11D3_9A58_0060087C0C73__INCLUDED_)