user32: Restore old WM_SIZE handler in mdi child
kumbayo84 at arcor.de
Sun Jan 21 15:56:45 CST 2007
On Monday 08 January 2007 11:31, Dmitry Timoshkov wrote:
this patch seems to cause http://bugs.winehq.org/show_bug.cgi?id=7190
Each time a MDI child window gets a WM_SIZE the left most menu entry disapperars.
The problem is that MDI_RestoreFrameMenu is called for each WM_SIZE message,
that does not maximize the window, instead of only beeing called when window goes from maximized to normal
And MDI_RestoreFrameMenu removes the left most menu entry,
in belief is the document icon of a maximized child.
What is the reason for restoring the old code?
Does the new code break some apps?
The attached patch, which reverts a part of the revert "fixes" the problem for my test app(ollydbg)
But i guess it is totally wrong :-)
> this patch restores (almost completely) an old WM_SIZE handler in mdi child,
> including the comment /* do not change */.
> user32: Restore old WM_SIZE handler in mdi child.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 521 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070121/b4043b29/mdi_deletes_menu.bin
More information about the wine-devel