Ayse
Ayse

Reputation: 2754

Edit Window stops displaying text after certain limit. (Windows)

I have developed a UDP Client Server Application in which Server Continuously reads data from 40 different Clients and displays it on a Edit Window. I have automatic Scroll enabled on mmy Edit Window as well. My code is working fine and Server is continuously receiving data as well, but after displaying a certain amount of data on edit window, the Server stops displaying data. Apparently it looks like the Maximum Capacity of Edit Window is full, but I am not sure about why this is happening. Can anybody guide what might the problem be? Is there any limit uptil which Edit Window can display data? Waiting for help :(

Upvotes: 0

Views: 465

Answers (1)

Remy Lebeau
Remy Lebeau

Reputation: 597215

Standard Edit controls default to a max limit of 32767 characters. Use the EM_LIMITTEXT message to set a different max limit as needed.

Upvotes: 4

Related Questions