Menu

#3 Avoiding AutoScroll translations

open
nobody
None
5
2005-07-12
2005-07-12
Doug
No

The AutoScroll calculations are a bit tedious. A
technique to get AutoScrolling for free is to first of all
create a scrollable control, then within that place a
second control that is Docked on all sides, and then use
the second control as the host control for all your work.
The inner control always has upper-left coordinates of
(0,0).

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.