https://bugs.winehq.org/show_bug.cgi?id=37064 --- Comment #4 from Piotr Caban <piotr.caban(a)gmail.com> --- If I'm not missing something DrawMenuBar is behaving correcly in this case. Some interesting parts of the log (only some lines are pasted here): 0009:Call user32.DestroyWindow(0001004e) ret=005d5d67 0009:Call user32.DrawMenuBar(0001004e) ret=10003da0 0009:Ret user32.DrawMenuBar() retval=00000001 ret=10003da0 0009:Call user32.PostQuitMessage(00000000) ret=0049ea43 0009:Ret user32.PostQuitMessage() retval=00000000 ret=0049ea43 0009:Ret user32.DestroyWindow() retval=00000001 ret=005d5d67 0009:Call user32.PeekMessageA(0032f96c,00000000,00000000,00000000,00000001) ret=005d6fc0 0009:Ret user32.PeekMessageA() retval=00000000 ret=005d6fc0 0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0x5d5c66 ip=005d5c66 tid=0009 After PostQuitMessage I don't see any calls that are affecting message queue. I don't understand why PeekMessage is not returning WM_QUIT message here. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.