Print Page | Close Window

CXTListCtrl row color with LVS_OWNERDATA

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=15829
Printed Date: 16 November 2024 at 11:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTListCtrl row color with LVS_OWNERDATA
Posted By: joggx
Subject: CXTListCtrl row color with LVS_OWNERDATA
Date Posted: 12 December 2009 at 3:51am
How to enable row color (like with SetRowColor) in CXTListCtrl which is created with LVS_OWNERDATA?




Replies:
Posted By: Oleg
Date Posted: 14 December 2009 at 6:37am
Hi,
 
Most easy way is to create class derveid from CXTListCtrl make same OnCustomDraw - and copy some code from original class.
+ add in messagemap ON_NOTIFY_REFLECT(NM_CUSTOMDRAW, OnCustomDraw)


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: joggx
Date Posted: 22 December 2009 at 10:43pm
it works. thanks.




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