in CMainFrame::OnCreate call
- Code: Select all
SetWindowLong(GetSafeHwnd(), GWL_STYLE, WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX);
after that default frame is gone
in CChildView::OnPaint I draw custom frame
in CChildView::OnEraseBkgnd return 1
in frame Chromium Embedded Framework 3.1750.1738 (multi_threaded_message_loop = true)
during resizing, frame flashes (disappears and you can see the contents of the background windows)
flicker is only on windows 7 (tested on two pc)
No flicker on virtual machines with XP, win7/8
No flicker on a laptop with XP
what I can do to fix it?