Click to See Complete Forum and Search --> : Use of the clip sibling property & clip children property?


raj1to0
June 23rd, 2006, 03:04 AM
Hello can any one explain about the clip sibling property of any dialog,
and clip children property of dialog.

The macros are : WS_CLIPSIBLINGS, WS_CLIPCHILDREN

I could not understand where it is useful.
I want to know what is use of these two properties.
Thanks.

JohnCz
June 27th, 2006, 10: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.