How does Win10 customize the height of the window title bar and the width of the scroll bar

  
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 the CaptionHeight string value on the right side, which represents the height of the window title bar. The 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