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