回 帖 发 新 帖 刷新版面

主题:SM_CXFRAME、SM_CXBORDER和SM_CXMAXTRACK的区别?

请问:SM_CXFRAME、SM_CXBORDER和SM_CXMAXTRACK分别指窗口的哪个部分?

回复列表 (共1个回复)

沙发

SM_CXSIZEFRAME   32     //标题栏
The thickness of the sizing border around the perimeter of a window that can be resized, in pixels. SM_CXSIZEFRAME is the width of the horizontal border, and SM_CYSIZEFRAME is the height of the vertical border.

SM_CYBORDER      6      //边框
The height of a window border, in pixels. This is equivalent to the SM_CYEDGE value for windows with the 3-D look.

SM_CXMAXTRACK    59      //
The default maximum width of a window that has a caption and sizing borders, in pixels. This metric refers to the entire desktop. The user cannot drag the window frame to a size larger than these dimensions. A window can override this value by processing the WM_GETMINMAXINFO message.


我来回复

您尚未登录,请登录后再回复。点此登录或注册