This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
[PATCH setup 1/5] Give search edit box autohscroll style
- From: Jon Turney <jon dot turney at dronecode dot org dot uk>
- To: cygwin-apps at cygwin dot com
- Cc: Jon Turney <jon dot turney at dronecode dot org dot uk>
- Date: Fri, 18 Nov 2016 16:46:42 +0000
- Subject: [PATCH setup 1/5] Give search edit box autohscroll style
- Authentication-results: sourceware.org; auth=none
- References: <20161118164646.209716-1-jon.turney@dronecode.org.uk>
This enables searching for package names longer than will fit in the edit
box, by allowing the text in the edit box to horizontally scroll...
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
---
res.rc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/res.rc b/res.rc
index c20c210..1227418 100644
--- a/res.rc
+++ b/res.rc
@@ -341,7 +341,7 @@ BEGIN
RTEXT "&Search", IDC_STATIC, SETUP_SEARCH_X, 33, SETUP_SEARCH_W,
10, SS_CENTERIMAGE, WS_EX_RIGHT
EDITTEXT IDC_CHOOSE_SEARCH_EDIT, SETUP_SEARCHTEXT_X, 30,
- SETUP_SEARCHTEXT_W, 14
+ SETUP_SEARCHTEXT_W, 14, ES_AUTOHSCROLL
PUSHBUTTON "&Clear", IDC_CHOOSE_CLEAR_SEARCH, SETUP_CLEAR_X, 30,
SETUP_CLEAR_W, 14
CONTROL "&Keep", IDC_CHOOSE_KEEP, "Button", BS_AUTORADIOBUTTON
--
2.8.3