user32: further implementation of MNS_NOTIFYBYPOS (fixes bug 12540)

Igor Tarasov tarasov.igor at
Wed May 14 04:43:29 CDT 2008

Initial patch had no checkups for NULL retruns. This caused Safari to
crash. Rewritten it so that it works pretty cautious.

2008/5/14, Igor Tarasov <tarasov.igor at>:
> Native user32.dll seems to check not only current menu's dwStyle for
>  MNS_NOTIFYBYPOS, but also main window menu's one (acquired through
>  GetMenu(menu->hwndOwner)). This behavior is implemented by this patch.
>  Fixes bug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user-32-further-implementation-of-MNS_NOTIFYBYPOS.patch
Type: application/octet-stream
Size: 1103 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list