What is the width of UserControl vertical scroll bar

  • Thread starter Thread starter SamSpade
  • Start date Start date
S

SamSpade

I need to set the client size width of a user control and leave room for a
vertical scroll bar, but I don't know how wide it is.

Seems I remember once checking system info for the width but don't remember
what I did.

More importantly, is there a newer way to determine the width?


Thanks for any help
 
Hi,

The systeminformation class has that information.
Debug.WriteLine(SystemInformation.VerticalScrollBarWidth)



Ken
 
Back
Top