AUTOSCROLLVIEW.H
上传用户:lvjun8202
上传日期:2013-04-30
资源大小:797k
文件大小:2k
- #if !defined(AFX_AUTOSCROLLVIEW_H__10F0B8E3_F05A_11D2_AD30_000021E82FFA__INCLUDED_)
- #define AFX_AUTOSCROLLVIEW_H__10F0B8E3_F05A_11D2_AD30_000021E82FFA__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // AutoScrollView.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CAutoScrollView view
- class CAutoScrollView : public CScrollView
- {
- protected:
- CAutoScrollView(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(CAutoScrollView)
- // Attributes
- public:
- // Operations
- public:
- private:
- void AutoScrollView(UINT nRefMessage);
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CAutoScrollView)
- protected:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual void OnInitialUpdate(); // first time after construct
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- BOOL m_bIsScrolling;
- virtual ~CAutoScrollView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- //{{AFX_MSG(CAutoScrollView)
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_AUTOSCROLLVIEW_H__10F0B8E3_F05A_11D2_AD30_000021E82FFA__INCLUDED_)