![]() |
Multiline text |
Post Reply
|
| Author | |
gmail
Groupie
Joined: 24 February 2008 Status: Offline Points: 45 |
Post Options
Thanks(0)
Quote Reply
Topic: Multiline textPosted: 25 March 2009 at 2:59pm |
|
How can we set multiline caption in CXTPCommandBar control? I tried with the code showed below but it doesn't respond to '\r' nor to '\n' at all:
pControl=pBar->GetControls()->Add(xtpControlButton, ID_BUTTON_322); pControl->SetCaption(_T("this is some very long text that does not fit into screen within one line so we use \n to make it multiline...")); |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 March 2009 at 2:51am |
|
Hi,
There is not multiline caption style. You can set xtpButtonIconAndCaptionBelow style.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |