此函数可以获取各种控件的系统默认尺寸,MSDN解释如下:
The GetSystemMetrics function retrieves various system metrics (widths and heights of display elements)
and system configuration settings. All dimensions retrieved by GetSystemMetrics are in pixels.
如可获取垂直滚动条宽度:GetSystemMetrics(SM_CXVSCROLL);
本文介绍了一个用于获取系统默认尺寸(例如控件的宽度和高度)的函数GetSystemMetrics。所有通过该函数获取的尺寸均以像素为单位。例如,可以通过调用GetSystemMetrics(SM_CXVSCROLL)来获得垂直滚动条的宽度。
1313

被折叠的 条评论
为什么被折叠?



