Win10 window title bar height and scroll bar width

  
1. Press Win+R to open the run, enter regedit and press Enter to open the registry editor;
2. Expand HKEY_CURRENT_USERControl PanelDesktopWindowMetrics;
3. Find CaptionHeight string on the right side Value, which represents the height of the window's title bar, and its value is calculated as: -15 * desired height (pixels). For example, we want the window title bar height is 18, then its value should be -15 * 18 = -270;

after the modification is completed log off again, you can see the effect.
The scroll key width corresponds to the registry key value of ScrollWidth, which is calculated in the same way as CaptionHeight. As shown in FIG comparison before and after modification
:


Copyright © Windows knowledge All Rights Reserved