Print Page | Close Window

HOWTO: Simulate tree control with 2 images

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=15544
Printed Date: 29 September 2024 at 1:28pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: HOWTO: Simulate tree control with 2 images
Posted By: mgampi
Subject: HOWTO: Simulate tree control with 2 images
Date Posted: 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 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Replies:
Posted By: binkman71
Date 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.


Posted By: mgampi
Date Posted: 11 November 2009 at 5:37am
Thanks;

I solved it this way.


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



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