Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


The framework calls this member function as a user rotates the mouse wheel and encounters the wheel's next notch.

afx_msg LRESULT OnRegisteredMouseWheel( 
   WPARAM wParam, 
   LPARAM lParam  


Horizontal position of the pointer.


Vertical position of the pointer.

Insignificant at this time. Always zero.

Unless overridden, OnRegisteredMouseWheel routes the message to the appropriate window (the parent window with focus), and calls the WM_MOUSEWHEEL handler for that window.

Override this member function to provide your own message routing or to alter the mouse-wheel scrolling behavior.

Note Note

OnRegisteredMouseWheel handles messages for Windows 95/98 and Windows NT 3.51. For Windows NT 4.0 message handling, use OnMouseWheel.

Header: afxwin.h

© 2015 Microsoft