The following styles affect the clipping relationship between a parent window and its child windows, and between a child window and its sibling windows.
Style | Description |
WS_CLIPCHILDREN | Excludes the area occupied by child windows when drawing within the parent window. Use this style when creating the parent window. |
WS_CLIPSIBLINGS | Clips child windows relative to each other; that is, when a particular child window receives a WM_PAINT message, the WS_CLIPSIBLINGS style clips all other overlapping child windows out of the region of the child window to be updated. If WS_CLIPSIBLINGS is not specified and child windows overlap, it is possible, when drawing within the client area of one child window, to draw within the client area of another neighboring child window. |