Group Windows and WS_CLIPCHILDREN

Group windows do not display properly if the parent window has the WS_CLIPCHILDREN style set. My current workaround is to simply remove the flag from the parent. However, this leads to extreme flickering when the window is resized.

Can a workaround be improved?

Update

Dr. Dobbs's Resizable Dialogs Revisited article addresses the same issue as me. The proposed solution reduces flashing, but does not eliminate it. I will use this code. However, if better solutions are possible, then feel free to post them!

+3
source share
1 answer

Do not use group fields.

, - , WS_CLIBSIBLINGS | WS_CLIPCHILDREN , .

- . , .

Microsoft Windows 2000, : WS_EX_COMPOSITED, WM_PAINT, Windows Vista 7 - WS_EX_COMPOSITED , aero glass . .

+2

Source: https://habr.com/ru/post/1761596/


All Articles