i wrote the code below, the code is hitting whenever my mouse wheel scrolling. but the vertical scroll bar not moving.could you please give me your input please.
class CMainFrame : public CFrameWndEx
protected: // create from serialization only
afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
source file :
BOOL CMainFrame::OnMouseWheel(UINT fFlags, short zDelta, CPoint point)
TRACE0("in CMainFrame:: OnMouseWheel function");
return CWnd :: OnMouseWheel(fFlags, zDelta, point);
here CMainFrame is derived from CFrameWndEx, CFrameWndEx id derived from the CFrameWnd, CFrameWnd class is derived from the CWnd.
could you please help me if did any wrong.