I'm making a windows program and I went to make a text box, but there's a limit to the number of characters it will hold. It only holds up until the box is filled. It's fine if I just make the box extra big, but that's not what I want. This is the code I'm using:
where hFile is the handle to the text box.Code:hFile = CreateWindowEx(WS_EX_CLIENTEDGE,"EDIT",NULL, WS_CHILD | WS_VISIBLE , 0,40,100,25,hwnd,(HMENU)ID_FILEPATH, (HINSTANCE) GetWindowLong(hwnd, GWL_HINSTANCE), NULL);
Thanks in advance.