WS_CLIPCHILDREN与WS_CLIPSIBLINGS
来源:互联网 发布:电子书软件下载 编辑:程序博客网 时间:2024/05/09 10:46
英文单词解释
clip:夹子、子弹夹、回形针;夹住,修剪
sibling:同胞兄弟或姐妹
overlapped:重叠
这两个Window Stype的特性与异同素来不太清楚,今日作一笔记:
MSDN的解释为:
WS_CLIPCHILDREN Excludes the area occupied by child windows when you draw within the parent window. Used when you create the parent window.
WS_CLIPSIBLINGS Clips child windows relative to each other; that is, when a particular child window receives a paint message, the WS_CLIPSIBLINGS style clips all other overlapped child windows out of the region of the child window to be updated. (If WS_CLIPSIBLINGS is not given and child windows overlap, when you draw within the client area of a child window, it is possible to draw within the client area of a neighboring child window.) For use with the WS_CHILD style only.
此处另有一文的解释为:
clip:夹子、子弹夹、回形针;夹住,修剪
sibling:同胞兄弟或姐妹
overlapped:重叠
这两个Window Stype的特性与异同素来不太清楚,今日作一笔记:
MSDN的解释为:
此处另有一文的解释为:
JohnCz
06-27-2006, 09:40 PM
It is not a property per se.
WS_xxx are Window styles. Both clip of area of other window when window overlaps another window.
Clip sibling for example will cause MDI child window to paint itself over another child window (sibling) when overlapped. The same will happen
WS_CLIPCHILDREN will do exactly the same when parent overlaps child window.
综上所述
WS_CLIPCHILDREN,使得父窗体在绘制时留出其上的子窗体的位置不去画它,而那片区域留着子窗体去画。
WS_CLIPSIBLING,必须用于子窗体,使得该子窗体在收到WM_PAINT时同时令其共父的诸多子窗体(MSDN讲必须不在该区域,即不与之重叠)也会被PAINT。
参考连接:
http://www.codeguru.com/forum/archive/index.php/t-391710.html
WS_xxx are Window styles. Both clip of area of other window when window overlaps another window.
Clip sibling for example will cause MDI child window to paint itself over another child window (sibling) when overlapped. The same will happen
WS_CLIPCHILDREN will do exactly the same when parent overlaps child window.
综上所述
WS_CLIPCHILDREN,使得父窗体在绘制时留出其上的子窗体的位置不去画它,而那片区域留着子窗体去画。
WS_CLIPSIBLING,必须用于子窗体,使得该子窗体在收到WM_PAINT时同时令其共父的诸多子窗体(MSDN讲必须不在该区域,即不与之重叠)也会被PAINT。
参考连接:
http://www.codeguru.com/forum/archive/index.php/t-391710.html
- WS_CLIPCHILDREN与WS_CLIPSIBLINGS
- WS_CLIPCHILDREN与WS_CLIPSIBLINGS
- WS_CLIPCHILDREN与WS_CLIPSIBLINGS
- WS_CLIPCHILDREN与WS_CLIPSIBLINGS 收藏
- WS_CLIPCHILDREN与WS_CLIPSIBLINGS
- WS_CLIPCHILDREN与WS_CLIPSIBLINGS
- WS_CLIPCHILDREN与WS_CLIPSIBLINGS(转载)
- WS_CLIPCHILDREN & WS_CLIPSIBLINGS
- WS_CLIPCHILDREN和WS_CLIPSIBLINGS
- WS_CLIPCHILDREN和WS_CLIPSIBLINGS
- WS_CLIPCHILDREN,WS_CLIPSIBLINGS含义
- WS_CLIPCHILDREN和WS_CLIPSIBLINGS
- WS_CLIPCHILDREN和WS_CLIPSIBLINGS
- WS_CLIPCHILDREN和WS_CLIPSIBLINGS的理解
- 如何区分WS_CLIPCHILDREN和WS_CLIPSIBLINGS
- 如何正确理解WS_CLIPCHILDREN和WS_CLIPSIBLINGS
- WS_CLIPCHILDREN和WS_CLIPSIBLINGS的理解
- WS_CLIPCHILDREN和WS_CLIPSIBLINGS的理解
- 西安的最后一帖(立此存照)
- 一个基于SIP的Scenario处理流程
- 试发
- C# 编码规范和编程好习惯
- IE是什么!
- WS_CLIPCHILDREN与WS_CLIPSIBLINGS
- Internet 安全编程(信任管理器,HttpsURLConnection ...)
- Thinking in AJAX(三) —— AJAX框架汇总
- newxy的简单之美
- 《给初学者的Windows Vista的补遗手册》之077
- “全球IT业最具影响力100人”名单
- 阶乘之计算从入门到精通-入门篇之一
- 刚学asp.net的感想
- Java property文件中文解决方案以及native2ascii应用