Get Scroll Bar display size

  • Thread starter Thread starter Chris Calzaretta
  • Start date Start date
C

Chris Calzaretta

How would I go about getting windows display size for the scroll bar in all
windows?
Is it in the registery??


Thanks

Chris
 
Chris,

Chris Calzaretta said:
How would I go about getting windows display size for the scroll bar in
all windows?

'SystemInformation.HorizontalScrollBarHeight'
'SystemInformation.VerticalScrollBarWidth'
 
In the SystemInformation class you have the following members:

VerticalScrollBarArrowHeight - Gets the height, in pixels, of the
arrow bitmap on the vertical scroll bar.
VerticalScrollBarThumbHeight - Gets the height, in pixels, of the
scroll box in a vertical scroll bar.
VerticalScrollBarWidth Gets - the width, in pixels, of the vertical
scroll bar.
HorizontalScrollBarArrowWidth - Gets the width, in pixels, of the
arrow bitmap on the horizontal scroll bar.
HorizontalScrollBarHeight - Gets the height, in pixels, of the
horizontal scroll bar.
HorizontalScrollBarThumbWidth - Gets the width, in pixels, of the
scroll box in a horizontal scroll bar.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top