From: Tom Yu Date: Fri, 5 Oct 2007 16:31:34 +0000 (+0000) Subject: pull up r20101 from trunk X-Git-Tag: kfw-3.2.2-beta1^2~1 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2538e2cf8187fc53e825e05e5c74f785d8586c62;p=krb5.git pull up r20101 from trunk r20101@cathode-dark-space: jaltman | 2007-10-05 11:23:53 -0400 ticket: new subject: NIM: BUG: APP: New edit controls should be marked ES_AUTOHSCROLL component: windows 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: 5809 version_fixed: 1.6.3 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@20102 dc483132-0cff-0310-8789-dd5450dbe970 --- 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,