user32: MENU_TrackMenu, called from TrackPopupMenu(), should send WM_ENTERIDLE message with the menu window handle as lparam with test.
wijn at online.nl
Fri Feb 27 12:30:04 CST 2009
This is an attempt to fix one of the problems that the application in
bug #9615 has, crashing on a NULL window handle passed in a
WM_ENTERIDLE message after pressing a button on the main menu bar.
Turns out that this happens by a wine-internal flag TPM_ENTERIDLEEX that
is not set only if called from TrackPopupMenu(Ex) functions. As the
test shows, this is not happening on windows (tested on win95, win2k and
(With the fix, the flag has lost its meaning an can go altogether.)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090227/a09317af/attachment.bin
More information about the wine-patches