CodeExplorer Posted January 22, 2019 Posted January 22, 2019 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
fearless Posted January 22, 2019 Posted January 22, 2019 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?
atom0s Posted January 23, 2019 Posted January 23, 2019 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now