#if !defined(AFX_RIGHTPANEWND_H__08178D7E_4523_426D_A903_E7122DD1023F__INCLUDED_) #define AFX_RIGHTPANEWND_H__08178D7E_4523_426D_A903_E7122DD1023F__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // RightPaneWnd.h : header file // ///////////////////////////////////////////////////////////////////////////// // CRightPaneWnd view class CRightPaneWnd : public CView { protected: CRightPaneWnd(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(CRightPaneWnd) // Attributes public: L_VOID PaintBitmap(CDC* pDC); L_INT ScaleDimension(L_INT nWidth, L_INT nFactor); void UpdateView(); // Operations public: L_HANDLE hDoubleBufferHandle; HPALETTE m_hPalette; L_INT cxClient, cyClient, nHScrollStep, nVScrollStep, nVScrollMax, nVScrollPos, nHScrollMax, nHScrollPos; L_BOOL fInScroll; RECT rcView; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CRightPaneWnd) protected: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); //}}AFX_VIRTUAL // Implementation protected: virtual ~CRightPaneWnd(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif // Generated message map functions protected: //{{AFX_MSG(CRightPaneWnd) afx_msg LRESULT OnDoRealize(WPARAM wParam, LPARAM lParam); // user message afx_msg BOOL OnEraseBkgnd(CDC* pDC); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_RIGHTPANEWND_H__08178D7E_4523_426D_A903_E7122DD1023F__INCLUDED_)