Share via


CWnd::OnRegisteredMouseWheel

afx_msg LRESULT OnRegisteredMouseWheel( WPARAM wParam**, LPARAM** lParam );

Return Value

Insignificant at this time. Always zero.

Parameters

wParam

Horizontal position of the pointer.

lParam

Vertical position of the pointer.

Remarks

The framework calls this member function as a user rotates the mouse wheel and encounters the wheel's next notch. Unless overridden, OnRegisteredMouseWheel registers the Windows message, routes the message to the appropriate window, and calls the handler for that window.

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

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

CWnd OverviewClass MembersHierarchy Chart

See Also