Thomas,
Thomas Keller wrote:
Again, if WM_CLOSE is correctly interpreted on Windows mtn builds as
equivalent to SIGTERM, Qt should do the trick and there wouldn't be
any need for such a function. But thanks!
It was my impression that WM_CLOSE is a message which can only be sent
to a window (that is, to a HWND message loop). As a console application,
monotone does not implement any windows (it is a console application
after all), and therefore the WM_CLOSE approach doesn't work. There's
not much the Monotone devs can do here, although there's probably some
way to register a hidden window, implement a process message loop or
something like that, but a console application shouldn't have to do that.