ScrollWndbase.h
资源名称:GGBT.rar [点击查看]
上传用户:lds876
上传日期:2013-05-25
资源大小:567k
文件大小:2k
源码类别:
P2P编程
开发平台:
Visual C++
- #if !defined(AFX_SCROLLWNDBASE_H__17FA0006_A57D_46EA_8562_04385BD0940D__INCLUDED_)
- #define AFX_SCROLLWNDBASE_H__17FA0006_A57D_46EA_8562_04385BD0940D__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ScrollWndbase.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CScrollWndbase window
- class CScrollWndbase : public CWnd
- {
- // Construction
- public:
- CScrollWndbase(const CRect rc);
- // Attributes
- public:
- CRect GetRect() const;
- // Operations
- public:
- void ResetPos();
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CScrollWndbase)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CScrollWndbase();
- // Generated message map functions
- protected:
- //{{AFX_MSG(CScrollWndbase)
- afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
- afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- virtual void OnScrollEx();
- CPoint GetTopLeft() const;
- private:
- CRect m_rect;
- CRect m_curRect;
- CPoint m_ptTopLeft;
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_SCROLLWNDBASE_H__17FA0006_A57D_46EA_8562_04385BD0940D__INCLUDED_)