Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • Last Modified:

Detect System ScrollBar size.


I need to know to get the size of the system scrollbar
so that I may adjust my controls properly.


0
s_mccolgan
Asked:
s_mccolgan
1 Solution
 
kdimmockCommented:
try:

 Private Declare Function GetSystemMetrics Lib "User32" (ByVal nIndex As Long) As Long
Private Const SM_CXVSCROLL = 2

..


sb_size = GetSystemMetrics(SM_CXVSCROLL)

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now