=GetSystemMetrics(SM_CXBORDER)<br>=GetSystemMetrics(SM_CYBORDER)<br><br>SM_CXBORDER, <br>SM_CYBORDER Width and height, in pixels, of a window border. This is equivalent to the SM_CXEDGE value for windows with the 3-D look. <br>SM_CXDLGFRAME,<br>SM_CYDLGFRAME Same as SM_CXFIXEDFRAME and SM_CYFIXEDFRAME. <br>SM_CXFIXEDFRAME,<br>SM_CYFIXEDFRAME Thickness, in pixels, of the frame around the perimeter of a window that has a caption but is not sizable. SM_CXFIXEDFRAME is the width of the horizontal border and SM_CYFIXEDFRAME is the height of the vertical border. <br>Same as SM_CXDLGFRAME and SM_CYDLGFRAME.<br>SM_CXFRAME,<br>SM_CYFRAME Same as SM_CXSIZEFRAME and SM_CYSIZEFRAME <br>SM_CXSIZEFRAME,<br>SM_CYSIZEFRAME Thickness, in pixels, of the sizing border around the perimeter of a window that can be resized. SM_CXSIZEFRAME is the width of the horizontal border, and SM_CYSIZEFRAME is the height of the vertical border. <br>Same as SM_CXFRAME and SM_CYFRAME.<br><br>边框跟窗口样式有关,基本就这几个。