// resView.h : interface of the CResView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_RESVIEW_H__F9DD60EC_3C58_11D3_A9A2_006008786A2B__INCLUDED_) #define AFX_RESVIEW_H__F9DD60EC_3C58_11D3_A9A2_006008786A2B__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 class CResView : public CView { L_INT m_nTimer; protected: // create from serialization only CResView(); DECLARE_DYNCREATE(CResView) // Attributes public: CResizeDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CResView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); //}}AFX_VIRTUAL // Implementation public: LBitmapBase m_LBitmap; virtual ~CResView(); L_BOOL HandlePalette(UINT uMsg,HWND hwnd); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CResView) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnTimer(UINT nIDEvent); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in resView.cpp inline CResizeDoc* CResView::GetDocument() { return (CResizeDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_RESVIEW_H__F9DD60EC_3C58_11D3_A9A2_006008786A2B__INCLUDED_)