![]() |
HOWTO: Simulate tree control with 2 images |
Post Reply
|
| Author | |
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Topic: HOWTO: Simulate tree control with 2 imagesPosted: 03 November 2009 at 5:16pm |
|
Hi;
I want to create a report control that simulates a tree control with two images. I know how to create the control i n treeview mode, but I can't find a way to set up two images in my tree column that are show immediately after the expand/collapse glyph. |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
binkman71
Newbie
Joined: 22 July 2009 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 November 2009 at 5:53pm |
|
You have to make your own item type by deriving a class from CXTPReportRecordItem, and then overriding CXTPReportRecordItem::Draw.
K.
|
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 November 2009 at 5:37am |
|
Thanks;
I solved it this way. |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
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 |