c++ - displaying ellipsis in CEdit control -


i'm surprised haven't found online concerning display of ellipsis in cedit control in mfc. have control can show 20 characters max length of string goes control 32 characters. interested in showing middle or end ellipsis if string length goes beyond visible length. has tried this? concerns me whether string pulled out of control using getwindowtext return actual string or string displayed ellipsis?

cedit displays window text. if want change display, change text.

you can change window text more readable when edit loses focus, , restore original text when window gain focus again. adjust getwindowtext calls read variable instead of window.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -