DEFER_WHEEL_EVENTS

This variable lets you control the use of the MSG_PAGED_PREV_WHEEL and MSG_PAGED_NEXT_WHEEL events, providing finer control over mouse wheel movements, especially in grid controls.

Spinning the mouse wheel quickly in a grid control can cause errors if the event procedure can not respond quickly enough. Potential errors can include:

When DEFER_WHEEL_EVENTS is set to TRUE, the MSG_PAGED_PREV_WHEEL and MSG_PAGED_NEXT_WHEEL events are ignored until processing returns from the control's event procedure. The default value for this variable is TRUE.