]> cygwin.com Git - cygwin-apps/setup.git/commit
Fix response to enter in the chooser search textbox
authorKen Brown <kbrown@cornell.edu>
Tue, 5 Dec 2017 17:21:12 +0000 (12:21 -0500)
committerJon Turney <jon.turney@dronecode.org.uk>
Sat, 9 Dec 2017 13:09:58 +0000 (13:09 +0000)
commita7c7dea653e9e5ccfe702a8d25dbcbd82a7f0beb
tree35876f32fccf97082adde56076551a070373d36d
parentc3853939020aeb5bfc5b4995cd604da4ce3f72cc
Fix response to enter in the chooser search textbox

Make 'enter' after we've started typing into the search textbox cause the
search filter to immediately take effect.

We don't change the default control immediately on EN_SETFOCUS unless there
is already text in the search textbox, so pressing 'enter' with the focus on
the search textbox (the initial state of the dialog) without typing anything
into the search textbox moves to the next page, as previously.

Also improve a bit of debug output from ChooserPage::OnMessageCmd()

v2:
Explicitly add/remove the defpushbutton style from the "Next" button when
the default button changes

v3:
Refine behaviour so default control is changed on EN_SETFOCUS if some
search text is present.
choose.cc
res.rc
resource.h
This page took 0.03139 seconds and 5 git commands to generate.