On 6 February 2010 04:15, Dmitry Timoshkov dmitry@codeweavers.com wrote:
Reece Dunn msclrhd@googlemail.com wrote:
And in terms of a fix, what is the best approach for fixing the issue? That is, Alexandre does not like an explicit call to InvalidateRect in the WM_MDICREATE handler, so I assume that the repaint logic should be done in a more specific place or figure out why it is not being called for the MDI client.
Probably WM_SETREDRAW has something to do with redrawing bug.
WM_SETREDRAW is used in two places in mdi.c, both of which don't do an InvalidateRect/UpdateWindow call after the WM_SETREDRAW guard.
However, these don't have an effect. It might be a redraw bug deeper into the windowing logic that mdi.c is making use of.
Before fixing the problem we need to understand what exactly is the sequence of events that leads to it, how Windows and Wine behaviours differ.
I understand this.
- Reece