Print Page | Close Window

CXTListView not using CXTListCtrl?

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=4648
Printed Date: 10 November 2025 at 8:18pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTListView not using CXTListCtrl?
Posted By: jaredf
Subject: CXTListView not using CXTListCtrl?
Date Posted: 24 July 2006 at 11:13am
Is there a reason why the CXTListView class uses the standard CListCtrl instead of the CXTListCtrl?
 
Anyone have a recommended work-around?
 
The methods of the CXTListCtrl I'm interested in are:
 
AutoSizeColumn()  ... would rather not want to write my own version of this code
SetSortImage()  ... would rather not write this code
GetColumnCount()  ... can get around this pretty quickly because I know how many columns I have to add
 



Replies:
Posted By: Oleg
Date Posted: 24 July 2006 at 12:45pm
Hi,
Same methods available for CXTListView.


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


Posted By: jaredf
Date Posted: 24 July 2006 at 1:39pm

My bad, thanks for the response.  I was using ::GetListCtrl and casting it to CXTListCtrl and crashing on the methods when realizing it wasn't an XT control.

I see now that CXTLIstView is a child of the CXTListBase class which has the bulk of the added functionality.
 
Thanks again.



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