By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,688 Members | 1,159 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,688 IT Pros & Developers. It's quick & easy.

getting system metrics (such as scrollbar width)

P: n/a
how do you get information easily such as the scrollbar width or the border
width and such from windows?
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies

P: n/a
P/Invoke GetSystemMetrics() Win32 API. www.pinvoke.net might help you get
more info.

"Brian Henry" <no****@nospam.microsoft.com> wrote in message
news:e8**************@TK2MSFTNGP14.phx.gbl...
how do you get information easily such as the scrollbar width or the border
width and such from windows?

Nov 21 '05 #2

P: n/a
With Windows.Forms.SystemInformation
.VerticalScrollBarWidth
.BorderSize

etc.

"Brian Henry" <no****@nospam.microsoft.com> wrote in message
news:e8**************@TK2MSFTNGP14.phx.gbl...
how do you get information easily such as the scrollbar width or the
border width and such from windows?

Nov 21 '05 #3

P: n/a
thanks

"Workgroups" <no*****@domainless.com> wrote in message
news:p5********************@speakeasy.net...
With Windows.Forms.SystemInformation
.VerticalScrollBarWidth
.BorderSize

etc.

"Brian Henry" <no****@nospam.microsoft.com> wrote in message
news:e8**************@TK2MSFTNGP14.phx.gbl...
how do you get information easily such as the scrollbar width or the
border width and such from windows?


Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.