K Keith Rebello Jun 17, 2004 #1 How do I obtain the width of a scrollbar on a Windows Forms control (eg. a ListView control)?
C Christopher W. Douglas Jun 17, 2004 #2 Keith, SystemInformation.VerticalScrollBarWidth or SystemInformation.HorizontalScrollbarHeight (depending). All scrollbars have the same size by default. By the way, a quick search at groups.google.com would have given you the answer. :^)
Keith, SystemInformation.VerticalScrollBarWidth or SystemInformation.HorizontalScrollbarHeight (depending). All scrollbars have the same size by default. By the way, a quick search at groups.google.com would have given you the answer. :^)
K Ken Tucker [MVP] Jun 17, 2004 #3 Hi, Trace.WriteLine(SystemInformation.VerticalScrollBarWidth) Trace.WriteLine(SystemInformation.HorizontalScrollBarHeight) Ken ------------------
Hi, Trace.WriteLine(SystemInformation.VerticalScrollBarWidth) Trace.WriteLine(SystemInformation.HorizontalScrollBarHeight) Ken ------------------