Function int GetSystemMetrics (int index) Library "USER32.DLL "
SM_CYCAPTION = 4
SM_CXBORDER = 5
SM_CYBORDER = 6
GetSystemMetrics(4) //窗口标题栏高度
GetSystemMetrics(5) //窗口边框宽度
GetSystemMetrics(6) //窗口边框宽度
SM_CYCAPTION = 4
SM_CXBORDER = 5
SM_CYBORDER = 6
GetSystemMetrics(4) //窗口标题栏高度
GetSystemMetrics(5) //窗口边框宽度
GetSystemMetrics(6) //窗口边框宽度