![]() |
CXTTreeCtrl extra text per item |
Post Reply
|
| Author | |
walgar
Newbie
Joined: 13 February 2005 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTTreeCtrl extra text per itemPosted: 04 April 2005 at 8:10pm |
|
Hi, Is there an easy way to add extra text per item in a CXTTreeCtrl? Something like, for instance in Outlook, the number of new mails in a folder is indicated at the end of a folder name item in the folder tree view. Thanks in advance...
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 April 2005 at 3:57am |
|
you can only change text like m_wndTree.SetItemText(hItem, oldText + "(203 mail)"); |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
walgar
Newbie
Joined: 13 February 2005 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 April 2005 at 8:58am |
|
Yes, that is the easy way. However, the selection rectangle will go over this extra text also, which is not like in Outlook. Also, the font color cannot be changed for this extra text, again, like in Outlook.
Is the only solution to do a full blown ownerdraw tree control?
Thanks!
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 April 2005 at 10:23am |
|
Seems only ownerdraw. There are no stanadrd methods. |
|
|
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 |