Defines the prototype of a scroll event handler.
A scroll event is generated when the viewport in this ImageView control has been moved with respect to the control's origin, e.g. when the values of one or both scroll bars have been changed. The event is generated just before updating the viewport, so this event handler can be implemented for optimization purposes.
- Parameters
-
sender | The control that sends a scroll event. |
dx | Horizontal scroll distance in viewport pixels. Positive values mean scrolling in the rightward direction. |
dy | Vertical scroll distance in viewport pixels. Positive values mean scrolling in the downward direction. |
Definition at line 1407 of file ImageView.h.