Win10 window title bar height and scroll bar width

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

After the modification is completed, you can see the effect by logging out and logging back in.
The scroll key width corresponds to the registry key value ScrollWidth, which is calculated in the same way as CaptionHeight.
Compared before and after the modification as shown below:


Copyright © Windows knowledge All Rights Reserved