PDA

Click to See Complete Forum and Search --> : Multiline edit box w/scrollbars


SteveCRM
Mar 4th, 2001, 01:02 PM
HWND Edit1;
Edit1 = CreateWindowEx(WS_EX_CLIENTEDGE, "Edit", "", WS_CHILD | WS_VISIBLE, 0, 80, 200, 200, ghWnd_Main, NULL, hInstance, NULL);


This code makes a single line textbox. How can I make a multiline textbox with a vertical scollbar?

parksie
Mar 4th, 2001, 01:05 PM
You need the window styles ES_MULTILINE and WS_VSCROLL.

SteveCRM
Mar 4th, 2001, 01:14 PM
perfect =D