From: Jeffrey Altman Date: Fri, 5 Oct 2007 15:23:53 +0000 (+0000) Subject: NIM: BUG: APP: New edit controls should be marked ES_AUTOHSCROLL X-Git-Tag: krb5-1.7-alpha1~815 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a5eb6766d2f336ef6b81395049ad20cb93adc624;p=krb5.git 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 --- 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,