X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/6e522441172d5b1c2a2fa4d0f6bbe905ce6b647a..708bbbbe30a499a0a51e0356e7056206b15989fd:/winctrls.c diff --git a/winctrls.c b/winctrls.c index 8ed1528c..9ed6a544 100644 --- a/winctrls.c +++ b/winctrls.c @@ -343,7 +343,7 @@ void bigeditctrl(struct ctlpos *cp, char *stext, r.right = cp->width; r.bottom = EDITHEIGHT + (lines-1) * STATICHEIGHT; cp->ypos += r.bottom + GAPBETWEEN; doctl(cp, r, "EDIT", - WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE, + WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | ES_MULTILINE, WS_EX_CLIENTEDGE, "", eid); } @@ -646,7 +646,7 @@ void colouredit(struct ctlpos *cp, char *stext, int sid, int listid, r.right = lwid; r.bottom = LISTHEIGHT; doctl(cp, r, "LISTBOX", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | LBS_HASSTRINGS | - LBS_USETABSTOPS, + LBS_USETABSTOPS | LBS_NOTIFY, WS_EX_CLIENTEDGE, "", listid);