Hi,
When you try to limit the maximum chars accepted in an edit control by doing something like this:
SendMessage(hwndEdit, EM_LIMITTEXT, 10, 0);
Wine simply ignores it, and let the user type more than 10 (in this example) characters.
This looks bad, because the user could eventually overflow the allocated memory for the dialog, making the program crash.
Cesar Mello (mello@elipse.com.br) coded a little program to show this limitation:
ftp://ftp.elipse.com.br/pub/about1/about1-src.tar.gz
I just created a bug entry on bugs.winehq:
http://bugs.winehq.com/show_bug.cgi?id=1280
Could someone help me with this?
Thanks a lot and kind regards,
Felipe