public inbox for cygwin-apps-cvs@sourceware.org help / color / mirror / Atom feed
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 Date: Tue, 02 Aug 2016 18:49:00 -0000 [thread overview] Message-ID: <20160802184900.82557.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=21dde03ddc5d9946841cb98d0b83bcbb22e3d52e commit 21dde03ddc5d9946841cb98d0b83bcbb22e3d52e Author: Corinna Vinschen <corinna@vinschen.de> 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 <corinna@vinschen.de> 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
reply other threads:[~2016-08-02 18:49 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20160802184900.82557.qmail@sourceware.org \ --to=corinna@sourceware.org \ --cc=cygwin-apps-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).