Print Page | Close Window

CXTListCtrl in virtual mode

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=5130
Printed Date: 05 April 2026 at 5:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTListCtrl in virtual mode
Posted By: Russ
Subject: CXTListCtrl in virtual mode
Date Posted: 24 September 2006 at 6:52am
Hi there,

is there anyway to use CXTListCtrl's method SetRowColor when the control itself is in LVS_OWNERDATA mode?



Replies:
Posted By: Russ
Date Posted: 24 September 2006 at 6:54am
oh, and I am still using 9.51


Posted By: Oleg
Date Posted: 25 September 2006 at 12:53am

Hello,

no, don't think so. use standard CListCtrl instead.

 



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


Posted By: Russ
Date Posted: 25 September 2006 at 2:10am
Well, the CXTListCtrl itself works flawlessly in virtual mode.. the only problem is SetRowColor method invoking RedrawControl(if I recall correctly - I am not on my devel machine now). I even hacked the sourcecode and did a rebuild, but no luck..


Posted By: Russ
Date Posted: 12 October 2006 at 5:14am
Hi again,

I want to answer my own question here:
I looks like I rely too much on XTP while the solution is provided by MFC itself - NM_CUSTOMDRAW message and NMLVCUSTOMDRAW struct :)



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