From a5eb6766d2f336ef6b81395049ad20cb93adc624 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 5 Oct 2007 15:23:53 +0000 Subject: [PATCH] NIM: BUG: APP: New edit controls should be marked ES_AUTOHSCROLL The EDIT controls used to accept input from the user must be set to support automatic horizontal scrolling. Otherwise, the number of input characters is arbitrarily restricted based upon the font selected by the user as part of the active Windows theme. Horizontal scrolling is enabled with the ES_AUTOHSCROLL flag during control construction. ticket: new component: windows git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20101 dc483132-0cff-0310-8789-dd5450dbe970 --- src/windows/identity/ui/newcredwnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows/identity/ui/newcredwnd.c b/src/windows/identity/ui/newcredwnd.c index 208678a79..e40e9da9a 100644 --- a/src/windows/identity/ui/newcredwnd.c +++ b/src/windows/identity/ui/newcredwnd.c @@ -2426,7 +2426,7 @@ static LRESULT nc_handle_wm_nc_notify(HWND hwnd, (d->nc->prompts[i]->def ? d->nc->prompts[i]->def : L""), WS_CHILD | WS_TABSTOP | - WS_BORDER | + WS_BORDER | ES_AUTOHSCROLL | ((d->nc->prompts[i]->flags & KHUI_NCPROMPT_FLAG_HIDDEN)? ES_PASSWORD:0), er.left, er.top, -- 2.26.2