Use the clip sibling property & clip children property?
-
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. Nice talking to you. :-O
If you judge people, you have no time to love them. -- Mother Teresa -
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. Nice talking to you. :-O
If you judge people, you have no time to love them. -- Mother Teresaas far as I know, these window styles are not really related to dialogs but rather to generic windows such as controls, overlapped windows etc... both have to do with drawing windows to limit the amount of drawing that needs to be done in a particular window WS_CLIPCHILDREN Excludes the area occupied by child windows when drawing occurs within the parent window. This style is used 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 a child window, to draw within the client area of a neighboring child window. ClipSiblings is quite useful if you have child windows overlapping and you are custom drawing something inside of the window...it basically keeps you from drawing in to the wrong window cje