Re: WM_DELETE_WINDOW




> this would be good for detecting hung programs (tho sometiems it's ok
> to have programs hang like this whislt running) but unless it's intded
> foruse during normal runtime there isn't much point... the wm can do
> this when the user hits "close" if the app doesnt respond and close its
> widnow within N seconds (the wm knows then the app will close its
> window) then the app can just go xkillclient.. even better.. 

Not sufficient, I'm afraid. The app may show a dialogox "Save document?
[yes][no][cancel]" instead of closing. The user may hit cancel.

Matthias



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]