Unlimited number of characters in textfield

Feb 26, 2014 at 4:30pm
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
Feb 26, 2014 at 5:56pm
Last edited on Feb 26, 2014 at 5:59pm
Feb 27, 2014 at 8:53am
Perfect, this works! Thank you very much.
Topic archived. No new replies allowed.