Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPPopupControl  Text with End-Ellipsis
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPPopupControl Text with End-Ellipsis

 Post Reply Post Reply
Author
Message
Wolfgang View Drop Down
Newbie
Newbie


Joined: 01 December 2003
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wolfgang Quote  Post ReplyReply Direct Link To This Post Topic: CXTPPopupControl Text with End-Ellipsis
    Posted: 31 October 2005 at 9:32am

Hello,

after finding no Flag, i think before I overwrite the classes i post in the board.

I use the Popupcontrol and i insert 2 Items. And for this fields i would want to use end ellipsis.

so that not "The cat sits on the fi" is displayed, I would rather prefer "The Cat sits on the f...".

Is there a way to accomplish that?

thanks in advance

Wolfgang

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 04 November 2005 at 12:19am

Did you try

pItem->SetTextAlignment(DT_SINGLELINE | DT_END_ELLIPSIS);

?

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Wolfgang View Drop Down
Newbie
Newbie


Joined: 01 December 2003
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wolfgang Quote  Post ReplyReply Direct Link To This Post Posted: 04 November 2005 at 4:58am

Thanks that does the trick!!!

wolfgang

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.049 seconds.