Print Page | Close Window

CXTPPopupControl Text with End-Ellipsis

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3132
Printed Date: 09 November 2025 at 7:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPPopupControl Text with End-Ellipsis
Posted By: Wolfgang
Subject: CXTPPopupControl Text with End-Ellipsis
Date 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




Replies:
Posted By: Oleg
Date Posted: 04 November 2005 at 12:19am

Did you try

pItem->SetTextAlignment(DT_SINGLELINE | DT_END_ELLIPSIS);

?



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Wolfgang
Date Posted: 04 November 2005 at 4:58am

Thanks that does the trick!!!

wolfgang




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net