主题:SM_CXFRAME、SM_CXBORDER和SM_CXMAXTRACK的区别?
Dic4000
[专家分:120] 发布于 2006-08-24 17:14:00
请问:SM_CXFRAME、SM_CXBORDER和SM_CXMAXTRACK分别指窗口的哪个部分?
回复列表 (共1个回复)
沙发
fox000002 [专家分:860] 发布于 2006-08-25 12:10:00
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.
我来回复