![]() |
CXTButton Multiline |
Post Reply
|
| Author | |
fjsen
Newbie
Joined: 10 November 2003 Location: Spain Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTButton MultilinePosted: 11 June 2007 at 4:07am |
|
Hi, Is there anyway to have more than one text line in a CXTButton?. I have a large text and I try to put it in the button in two different lines with the "\n" but I just get an strange character. Is there any property or style for doing this? Thank you
|
|
![]() |
|
abazosan
Newbie
Joined: 24 May 2007 Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 June 2007 at 6:00am |
|
I have the same issue.
Is it possible to have multiline buttons? It would be very useful..
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 June 2007 at 4:57am |
|
Hello,
Sorry, only single line text supported, you can easy override void CXTButtonTheme::DrawButtonText(CDC* pDC, UINT nState, CRect& rcItem, CXTButton* pButton) , draw multiline text and set your theme with
m_btm.SetTheme(new CMyNewTheme());
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
fjsen
Newbie
Joined: 10 November 2003 Location: Spain Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 June 2007 at 8:34am |
|
Ok, thanks a lot
|
|
![]() |
|
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 |