Location:
Search - OnMouseWheel
Search list
Description: class CMyTreeCtrl : public CTreeCtrl
{
// Construction
public:
CMyTreeCtrl()
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyTreeCtrl)
//}}AFX_VIRTUAL
// Implementation
public:
CBitmap m_bitmap
BOOL SetBKImage(LPCTSTR LpszResource)
virtual ~CMyTreeCtrl()
// Generated message map functions
protected:
//{{AFX_MSG(CMyTreeCtrl)
afx_msg void OnPaint()
afx_msg void OnItemexpanded(NMHDR* pNMHDR, LRESULT* pResult)
afx_msg BOOL OnEraseBkgnd(CDC* pDC)
afx_msg void OnMouseMove(UINT nFlags, CPoint point)
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar)
afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
} -class CMyTreeCtrl: public CTreeCtrl (//Constructionpublic: CMyTreeCtrl ()// Attributespublic:// Operationspublic:// Overrides// ClassWizard generated virtual function overrides// ((AFX_VIRTUAL (CMyTreeCtrl)//)) AFX_VIRTUAL// Implementationpublic: CBitmap m_bitmap BOOL SetBKImage (LPCTSTR LpszResource) virtual ~ CMyTreeCtrl ()// Generated message map functionsprotected:// ((AFX_MSG (CMyTreeCtrl) afx_msg void OnPaint () afx_msg void OnItemexpanded (NMHDR* pNMHDR, LRESULT* pResult) afx_msg BOOL OnEraseBkgnd (CDC* pDC ) afx_msg void OnMouseMove (UINT nFlags, CPoint point) afx_msg void OnVScroll (UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) afx_msg BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt)//)) AFX_MSG DECLARE_MESSAGE_MAP ())
Platform: |
Size: 186368 |
Author: zhoujay |
Hits:
Description: class CMyTreeCtrl : public CTreeCtrl
{
// Construction
public:
CMyTreeCtrl()
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyTreeCtrl)
//}}AFX_VIRTUAL
// Implementation
public:
CBitmap m_bitmap
BOOL SetBKImage(LPCTSTR LpszResource)
virtual ~CMyTreeCtrl()
// Generated message map functions
protected:
//{{AFX_MSG(CMyTreeCtrl)
afx_msg void OnPaint()
afx_msg void OnItemexpanded(NMHDR* pNMHDR, LRESULT* pResult)
afx_msg BOOL OnEraseBkgnd(CDC* pDC)
afx_msg void OnMouseMove(UINT nFlags, CPoint point)
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar)
afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
} -class CMyTreeCtrl: public CTreeCtrl (//Constructionpublic: CMyTreeCtrl ()// Attributespublic:// Operationspublic:// Overrides// ClassWizard generated virtual function overrides// ((AFX_VIRTUAL (CMyTreeCtrl)//)) AFX_VIRTUAL// Implementationpublic: CBitmap m_bitmap BOOL SetBKImage (LPCTSTR LpszResource) virtual ~ CMyTreeCtrl ()// Generated message map functionsprotected:// ((AFX_MSG (CMyTreeCtrl) afx_msg void OnPaint () afx_msg void OnItemexpanded (NMHDR* pNMHDR, LRESULT* pResult) afx_msg BOOL OnEraseBkgnd (CDC* pDC ) afx_msg void OnMouseMove (UINT nFlags, CPoint point) afx_msg void OnVScroll (UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) afx_msg BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt)//)) AFX_MSG DECLARE_MESSAGE_MAP ())
Platform: |
Size: 73728 |
Author: zhoujay |
Hits:
Description: onmousewheeljquery的滚动鼠标放大缩小图片效果 兼容火狐今天要出个鼠标滚动放大缩小图片的功能,看似很简单,从网上一搜,出现的都是onmousewheel的例子,全部只支持IE浏览器,结果查出火狐有对应的DOMMouseScroll来处理这个功能-onmousewheeljquery scroll mouse to zoom picture effects compatible with Firefox today out of a mouse scroll zoom picture function, appears to be very simple, a search online, are examples onmousewheel appearing all only support IE browser, the results found Firefox has a corresponding function to process the DOMMouseScroll
Platform: |
Size: 32768 |
Author: npudn62 |
Hits:
Description: 为delphi7添加鼠标滚轮事件(原版滚轮无法翻页滚动)-Add the mouse wheel event for Delphi7 (the original roller rolling can not flip)
Platform: |
Size: 1024 |
Author: yelei |
Hits: