aboutsummaryrefslogtreecommitdiff
path: root/src/windows
diff options
context:
space:
mode:
authorJeffrey Altman <jaltman@secure-endpoints.com>2007-10-05 15:23:53 +0000
committerJeffrey Altman <jaltman@secure-endpoints.com>2007-10-05 15:23:53 +0000
commita5eb6766d2f336ef6b81395049ad20cb93adc624 (patch)
treeaecb202f405427252c20751dd594c5f3bc17fe53 /src/windows
parent30791a8744c4492e59ff0932cbe7335d245022a3 (diff)
downloadkrb5-a5eb6766d2f336ef6b81395049ad20cb93adc624.zip
krb5-a5eb6766d2f336ef6b81395049ad20cb93adc624.tar.gz
krb5-a5eb6766d2f336ef6b81395049ad20cb93adc624.tar.bz2
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
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/identity/ui/newcredwnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows/identity/ui/newcredwnd.c b/src/windows/identity/ui/newcredwnd.c
index 208678a..e40e9da 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,