http://bugs.winehq.org/show_bug.cgi?id=9615
--- Comment #35 from Nicholai Benalal olympia@skydreams.org 2008-10-13 03:10:24 --- (In reply to comment #33)
-- so there are two ways, how to easily fix this issue:
- fix null pointer exception by not sending 0 as window handle
- and
- a) call EndMenu from WM_CANCELMODE handler of defwnd.c (remove the if
condition)
- or
- b) use undocumented message 0xb09 to cancel the menu loop
I actually think, either of them can be used.
To me it didn't seem like the 0xb09 handling "fix" worked 100%. If you open a menu and then click on the active menu header, the menu should close. This happens in case a but not case b as no 0xb09 message seems to be sent.
Anyway, I agree that the likely reply if we try to get any of these fixes applied is that we need a testcase. Unfortunately I'm not the right person to do it.
In the meanwhile I'm investigating some other (more minor problems) with chessbase apps ;-)