Disabling Quit On Telnet
Fairlight
fairlite at fairlite.com
Sat Apr 29 09:06:16 PDT 2006
Confusious (John Esak) say:
>
> As you know... Alt-F4 closes any active window... you and I both use this,
> preferring keystrokes to mouse clicking... Would getting rid of the 3
> controls at the top right of the window *also* obviate the Alt-F4? That
> *world* be kind of cool.... just curious.
>From the discussions I saw, no. It's specific to the window decoration
modes and would not affect key bindings. Good catch--I use it many times
an hour and never thought of it. Things would be just as bad in that case.
There's got to be a Windows event that is trappable with an event handler,
similar to catching SIGINT with signal(). You can't trap SIGKILL in
*nix, but I -believe- that the event generated by ALT-F4 and the X icon
is different than the one that kills an app totally drastically like
SIGKILL--otherwise you'd never hit that "unresponsive program...end now?"
dialogue which -will- kill it no matter what. I just don't know the event
name.
If that event can be found and trapped within the client, bingo.
mark->
More information about the Filepro-list
mailing list