打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
WS_CLIPSIBLINGS
所有的overlapped窗口和popup窗口,都有WS_CLIPSIBLINGS 属性,
这些窗口不能在它的sibling窗口上绘图
对于child窗口,如果没有这个属性,它能在它的sibling窗口上绘图
                 +-----------+
                  |A             |
                  |   +--------+-------
                  |   |        |    B |
                  |   | C        |        |
                  +---+-------+       |
                      |                    |
                      +---------------+
如果A, B都是child窗口,
如果A具有WS_CLIPSIBLINGS属性,
那么A重绘时不会重绘C部分
clip是裁减,去除的意思 相当与英文的Exclude
WS_OVERLAPPED    Creates an overlapped window. An overlapped window usually has a caption and a border
WS_POPUP     Creates a pop-up window. Cannot be used with the WS_CHILD style.
WS_CHILD    Creates a child window. Cannot be used with the WS_POPUP style.
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
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/redfox1985/archive/2009/09/30/4620093.aspx
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
身上这6个“位置”,每天搓一搓,通经络、补肾气,好处多多!
摄影:蔷薇花的丰盈(4)
初冬的景色(4)
塔罗占卜:你在Ta心里排第几?
地上违法建筑物没收制度的初探和思考—限于非法占用集体农用地情形的考量
数字15的奥秘★
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服