Calculating System Sizes.

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

I would like to know how to work what the width of a vertical scroll bar
would be if shown in a control/form. I'm from a VB background and remember
something about a SystemMetrics API and was wondering if .NET had a way of
doing this.

Thanks in advance.
 
Steve said:
I would like to know how to work what the width of a vertical scroll bar
would be if shown in a control/form. I'm from a VB background and remember
something about a SystemMetrics API and was wondering if .NET had a way of
doing this.

Thanks in advance.

Check out the System.Windows.Forms.SystemInformation class.

/Joakim
 
Back
Top