multiple lines for CXTPControlEdit |
Post Reply |
Author | |
sehnkim
Newbie Joined: 07 October 2016 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 07 October 2016 at 11:17am |
Hello experts, I am working on adding a text area (Multiple lines of text), but not sure why it's not working. What I want to is... While a user is entering some text, if the text is long, some words need to be moved to the next line. (That is, "word wrap") Here is my code. m_slide_description = new CXTPControlEdit; m_slide_description-> m_slide_description->SetFlags( m_slide_description-> m_slide_description-> m_slide_description-> m_slide_description->SetWidth( m_slide_description-> AddControl(_T("Slide Desc"), m_slide_description); Any advice would be appreciated. Thanks
|
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
m_slide_description->SetWrap(TRUE);
Also don't use ES_AUTOHSCROLL style. "If you specify the |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |