Unlimited number of characters in textfield

Hello everyone

I just created successfully a textfield with this code:

1
2
3
4
5
6
hwnd_ed_u = CreateWindow("edit", "",
                              WS_CHILD | WS_VISIBLE | WS_TABSTOP
                              | ES_LEFT | WS_BORDER,
                              x, y, w, h,
                              hwnd, (HMENU)(502),
                              (HINSTANCE) GetWindowLong (hwnd, GWL_HINSTANCE), NULL);


All works fine - except that the number of the characters in the textfield is limited to its size. I want that the user can type in an unlimited amount of characters. How can I achieve this?

Thanks in advance,
theRunner
Last edited on
Perfect, this works! Thank you very much.
Topic archived. No new replies allowed.