How do I know the current width of system scrollbar?

前端 未结 4 1088
长情又很酷
长情又很酷 2020-12-08 12:43

As you know, one can customize the width of the scrollbar width in Display Properties -> Appearance -> Advanced -> Item: ScrollBar. The default value is 17. However, I can\'

4条回答
  •  粉色の甜心
    2020-12-08 13:09

    Look at the System.Windows.Forms.SystemInformation class members: HorizontalScrollBarHeight and VerticalScrollBarWidth.

提交回复
热议问题