http://bugs.winehq.org/show_bug.cgi?id=22941
--- Comment #11 from Paul Chitescu paulc@voip.null.ro 2010-06-14 07:38:17 --- Were there specific applications that did not handle well a click in HTCLOSE? Or there were some that wanted specifically Alt-F4?
A cleaner alternative would be to post WM_SYSCOMMAND / SC_CLOSE in which both the above should result.