Philosophy of scroll bars

2019-03-04 23:47发布

Suppose I want to design my own text editor . simply like notepad. Without using any richtextbox or other controls LIKE EDIT in C++. Main Handle is just a window in C++ or usercontrol in C#. The Question is here for scrolling option , how can I perform scrolling when user is typing. I mean vertical scrolling here . What is Philosophy of works of scroll bars in C++ windows or C# user controls ?

Should I Clear the (Usercontrol or Window) When User reaches to end of (Usercontrol or Window) and then Put caret on start of (Usercontrol or Window) ? What about scrolling with thumb or hand scrolling ? How can I find the Text Position which scroll to ?

1条回答
孤傲高冷的网名
2楼-- · 2019-03-05 00:00

What is Philosophy of works of scroll bars ...

In short: Do what is least surprising. In your case this means copy whatever scrolling behaviour your users are already familiar with.

查看更多
登录 后发表回答