Re: TWAPI - how to register a callback to a Shutdown (or similar) event?



Martin Lemburg wrote:
`
Perhabs I found the solution for my problem, not really needing twapi,
just by ...

wm protocol . WM_SAVE_YOURSELF

But ... is this event really supported?

Yes, but beware that the semantics of [wm protocol ... WM_SAVE_YOURSELF]
are very different on Windows and on X11. On X11, the WM_SAVE_YOURSELF
handler _must_ update the [wm command] string, otherwise it can
prevent users from logging out.


--Joe English
.



Relevant Pages