Compatibility with System Screen Metrics
It is important that applications drawing their own screen elements pick up the size settings that the user has selected in Control Panel. For example, a private dialog box manager that draws custom dialog boxes should use the dialog box font that the user has selected for the rest of the system. The same principle applies for scroll bars, custom menus, and so on. For a complete list of size settings, see the description of the GetSystemMetrics function in the Win32 SDK.