Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTButton and multiline text
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTButton and multiline text

 Post Reply Post Reply
Author
Message
YMHiK View Drop Down
Groupie
Groupie
Avatar

Joined: 21 January 2009
Location: United States
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote YMHiK Quote  Post ReplyReply Direct Link To This Post Topic: CXTButton and multiline text
    Posted: 06 April 2009 at 2:13pm
I have CXTButton which has icon defined and text using BS_XT_TWOROWS style. Also, assigned button text has line breaks and they do show up on button. The text itself is shown as one line.

Does anybody have suggestion for this problem?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 07 April 2009 at 1:17am
Hi,
 
CXTButton doesn't support Multline text.  Try CXTPButton instead with BS_MULTILINE style.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
YMHiK View Drop Down
Groupie
Groupie
Avatar

Joined: 21 January 2009
Location: United States
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote YMHiK Quote  Post ReplyReply Direct Link To This Post Posted: 07 April 2009 at 4:05pm
Thank you! It does help. Here is another question for you. Is there an equivalent of SetButtonFace() of CXTButton for CXTPButton?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.059 seconds.