• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • 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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

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