How do I center text in a multiline edit control vertically? In other words, I want the text to appear in the middle of the edit control's entire window instead of on the first line.
There's no easy way to do it (i.e. no edit style that has that effect), I suggest writing a function to calculate and insert the necessary number of Carriage Returns to center the text, whenever it is modified.
apatterno and palbano, thanks for your replies. Since "there's no easy way to do it", I won't worry about it. After all, I am a beginner in VC++ programming!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.