From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sa-prd-fep-042.btinternet.com (mailomta11-sa.btinternet.com [213.120.69.17]) by sourceware.org (Postfix) with ESMTPS id 3C7B43858412 for ; Mon, 24 Jan 2022 19:57:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3C7B43858412 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=dronecode.org.uk Received: from sa-prd-rgout-003.btmx-prd.synchronoss.net ([10.2.38.6]) by sa-prd-fep-042.btinternet.com with ESMTP id <20220124195734.WOQY14747.sa-prd-fep-042.btinternet.com@sa-prd-rgout-003.btmx-prd.synchronoss.net> for ; Mon, 24 Jan 2022 19:57:34 +0000 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com; bimi=skipped X-SNCR-Rigid: 61394290127868D9 X-Originating-IP: [81.129.146.209] X-OWM-Source-IP: 81.129.146.209 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvvddrvdeigddufeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepvddtteffkeevveejgeehgeelhfdtgefgieelgffgudetudefvdeggfeiiefftdevnecukfhppeekuddruddvledrudegiedrvddtleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddtfegnpdhinhgvthepkedurdduvdelrddugeeirddvtdelpdhmrghilhhfrhhomhepjhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhdpnhgspghrtghpthhtohepuddprhgtphhtthhopegthihgfihinhdqrghpphhssegthihgfihinhdrtghomh X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.103] (81.129.146.209) by sa-prd-rgout-003.btmx-prd.synchronoss.net (5.8.716.04) (authenticated as jonturney@btinternet.com) id 61394290127868D9 for cygwin-apps@cygwin.com; Mon, 24 Jan 2022 19:57:34 +0000 Message-ID: <1e5b78f8-e507-514e-d524-cc390818933a@dronecode.org.uk> Date: Mon, 24 Jan 2022 19:57:13 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH setup] Show a MessageBox warning if running on a deprecated Windows version Content-Language: en-GB To: "cygwin-apps@cygwin.com" References: <20220113151330.11027-1-jon.turney@dronecode.org.uk> <1b6219e5-21ec-8b54-b34a-4b5978e6c864@dronecode.org.uk> From: Jon Turney In-Reply-To: <1b6219e5-21ec-8b54-b34a-4b5978e6c864@dronecode.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3570.9 required=5.0 tests=BAYES_00, FORGED_SPF_HELO, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2022 19:57:37 -0000 On 18/01/2022 16:15, Jon Turney wrote: > On 14/01/2022 09:04, Corinna Vinschen wrote: >> On Jan 13 15:13, Jon Turney wrote: >>> Show a MessageBox warning if we are running on a Windows version which >>> we have deprecated Cygwin support for: >>> [..] >> >> Question is, how often should setup show this message?  Every time might >> really be a bit annoying.  Some kind of "I saw it, now leave me alone, >> at least for a while" kind of function would be great. > > Yeah, unfortunately that turns this into more effort than I'm going to > commit to this: > > Adding a "Don't show this again" checkbox means we can't use a > MessageBox, so have design a dialog box for that purpose. > > Making that setting persistent means we have to wait until after the > cygwin root directory is established so we know where to retrieve that > persistent setting from. It turns out SHMessageBoxCheck() exists, which avoids both these problems, so I've reworked this change to use that.