| Deutsch English Français Italiano |
|
<vpcvcp$1med$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Torsten <Torsten@example.com> Newsgroups: comp.lang.tcl Subject: macOS: No WM_DELETE_WINDOW protocol when using "Quit app"? Date: Sat, 22 Feb 2025 17:52:39 +0100 Organization: A noiseless patient Spider Lines: 6 Message-ID: <vpcvcp$1med$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 22 Feb 2025 17:52:42 +0100 (CET) Injection-Info: dont-email.me; posting-host="1a239e05a444ee792a688fce4cbd30de"; logging-data="55757"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/k4H919vipGMPKG1ZOl139" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:SJMyGv8pCctY//wC/NnMP1OuSKc= Content-Language: en-GB Bytes: 1159 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