Posted January 22, 20196 yr Visual C++ Edit only 500 char maximum length! Any way to make it hold more datas? Already tried: https://stackoverflow.com/questions/180853/cedit-control-maximum-length-in-characters-it-can-display
January 22, 20196 yr Maybe something in the MFC is setting the default max to 500 chars. Anyway to ignore the MFC CEdit stuff and just create a standard Edit control instead?
January 23, 20196 yr MFC just wraps around CreateWindow using EDIT as the control class. Setting the limit of the text just wraps around SendMessage using the limit length message id. So it would be whatever Windows limits the default EDIT control to. Should work fine with using 0 as the value for the length to let it max out to what Windows can handle though.
Create an account or sign in to comment