Returns a new Quartz scrolling event.
- macOS 10.5+
- Mac Catalyst 13.0+
- Core Graphics
An event source taken from another event, or
The unit of measurement for the scrolling event. Pass one of the constants listed in
The number of scrolling devices on the mouse, up to a maximum of 3.
A value that reflects the movement of the primary scrolling device on the mouse. Scrolling movement is generally represented by small signed integer values, typically in a range from -10 to +10. Large values may have unexpected results, depending on the application that processes the event.
Up to two values that reflect the movements of the other scrolling devices on the mouse, if any.
A new scrolling event, or
NULL if the event could not be created. When you no longer need the event, you should release it using the function
This function allows you to create a scrolling event and customize the event before posting it to the event system.