Print Page | Close Window

CXTTreeCtrl & CustomDraw

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=12661
Printed Date: 16 May 2024 at 8:11am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTTreeCtrl & CustomDraw
Posted By: Michl
Subject: CXTTreeCtrl & CustomDraw
Date Posted: 12 November 2008 at 3:26am
Hi,
 
we like to add a custom status text behind a tree item. So we draw the additional text in the custom draw message. This works fine with CTreeCtrl. But I saw that CXTTreeCtrl overwrite our own output in DoPaint().
 
Is there a reasion why CXTTreeCtrl don't paint their items in custom draw handler/message? As result, so every text is printed twice (windows & codejocke). This is not very optimized, isn't it?
 
Have a nice day



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