I really would like to know, if and how it is possible using TWAPI to
register a callback for a Shutdown, LogOff, etc. event!
Can somebody help me?
Thanks and best regards,
Martin
wm protocol . WM_SAVE_YOURSELF
But ... is this event really supported?
Thanks again!
Martin
On May 8, 10:59 am, "MartinLemburg@UGS" <martin.lemburg....@gmx.net>
wrote:
I added this support into Tk in 8.4.13.
Jeff
Seems WM_ENDSESSION is the definitive Windows signal
that the app must exit with no option.
R
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