From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82611 invoked by alias); 2 Aug 2016 18:49:03 -0000 Mailing-List: contact cygwin-apps-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-apps-cvs-owner@sourceware.org Received: (qmail 82583 invoked by uid 9078); 2 Aug 2016 18:49:00 -0000 Date: Tue, 02 Aug 2016 18:49:00 -0000 Message-ID: <20160802184900.82557.qmail@sourceware.org> From: corinna@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [setup - the official Cygwin setup program used to install Cygwin and keep it up to date] branch master, updated. release_2.874-8-g21dde03 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: cd748b30665765ef862ba885e8beb2ab635c7519 X-Git-Newrev: 21dde03ddc5d9946841cb98d0b83bcbb22e3d52e X-SW-Source: 2016-q3/txt/msg00013.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=21dde03ddc5d9946841cb98d0b83bcbb22e3d52e commit 21dde03ddc5d9946841cb98d0b83bcbb22e3d52e Author: Corinna Vinschen Date: Tue Aug 2 20:48:53 2016 +0200 Chooser window: Set focus to search field. After rearranging the chooser controls in commit 6a36f6a, the search field wasn't the first control anymore, thus it didn;'t have the focus anymore. Fix that by setting the focus to the search field explicitely in ChooserPage::OnInit. Signed-off-by: Corinna Vinschen Diff: --- choose.cc | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/choose.cc b/choose.cc index 106ac81..1c97f59 100644 --- a/choose.cc +++ b/choose.cc @@ -291,6 +291,10 @@ ChooserPage::OnInit () AddTooltip (IDC_CHOOSE_VIEW, IDS_VIEWBUTTON_TOOLTIP); AddTooltip (IDC_CHOOSE_HIDE, IDS_HIDEOBS_TOOLTIP); AddTooltip (IDC_CHOOSE_SEARCH_EDIT, IDS_SEARCH_TOOLTIP); + + /* Set focus to search edittext control. */ + PostMessage (GetHWND (), WM_NEXTDLGCTL, + (WPARAM) GetDlgItem (IDC_CHOOSE_SEARCH_EDIT), TRUE); } void