wxScrolled<> autoscroll zone

10 views
Skip to first unread message

wsu

unread,
Nov 10, 2025, 9:31:32 PM (14 hours ago) Nov 10
to wx-dev
The wxScrolled<> template implements autoscrolling, but only when the mouse cursor is dragged outside the wxScrolled<> window.  I would prefer that autoscrolling occur when the mouse cursor is near the edge of the window, but still in it.  Is there either a technical or user experience reason for only scrolling when the mouse cursor is outside the window?

Vadim Zeitlin

unread,
11:01 AM (1 hour ago) 11:01 AM
to wx-...@googlegroups.com
On Mon, 10 Nov 2025 18:31:32 -0800 (PST) 'wsu' via wx-dev wrote:

w> The wxScrolled<> template implements autoscrolling, but only when the mouse
w> cursor is dragged outside the wxScrolled<> window. I would prefer that
w> autoscrolling occur when the mouse cursor is near the edge of the window,
w> but still in it. Is there either a technical or user experience reason for
w> only scrolling when the mouse cursor is outside the window?

I'm not sure how well would this work, as the mouse would still be over
the scrollbar then. Do you know of any applications in common use that
behave like this?

Regards,
VZ
Reply all
Reply to author
Forward
0 new messages