macOS: No WM_DELETE_WINDOW protocol when using "Quit app"?

Liste des GroupesRevenir à cl tcl 
Sujet : macOS: No WM_DELETE_WINDOW protocol when using "Quit app"?
De : Torsten (at) *nospam* example.com (Torsten)
Groupes : comp.lang.tcl
Date : 22. Feb 2025, 17:52:39
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vpcvcp$1med$1@dont-email.me>
User-Agent : Mozilla Thunderbird
The close icon triggers a WM_DELETE_WINDOW protocol, but not the menu entry "Quit app".
I use this to register my own exit handler for my app.
How can I call my own exit handler when the user closes the app via "Quit app"?
Torsten

Date Sujet#  Auteur
22 Feb 25 * macOS: No WM_DELETE_WINDOW protocol when using "Quit app"?3Torsten
22 Feb 25 +- Re: macOS: No WM_DELETE_WINDOW protocol when using "Quit app"?1nab
22 Feb 25 `- Re: macOS: No WM_DELETE_WINDOW protocol when using "Quit app"?1Robert Heller

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal