Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - HOWTO: Simulate tree control with 2 images
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HOWTO: Simulate tree control with 2 images

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: HOWTO: Simulate tree control with 2 images
    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
Back to Top
binkman71 View Drop Down
Newbie
Newbie


Joined: 22 July 2009
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote binkman71 Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post 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
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.141 seconds.