Print Page | Close Window

how to use CXTListCtrl with variable-height item

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


Topic: how to use CXTListCtrl with variable-height item
Posted By: Jungle26
Subject: how to use CXTListCtrl with variable-height item
Date Posted: 12 December 2006 at 10:45pm
I need to create a list control that has variable-height rows(item). how to do it?thanks.



Replies:
Posted By: mgampi
Date Posted: 14 December 2006 at 2:32pm

Hi;

You have to create a owner drawn CXTListCtrl derived class and overwrite the OnDrawItem callbacks.

Martin



Posted By: Jungle26
Date Posted: 14 December 2006 at 11:27pm
hi, I  need to make each line a different height .how  CXTListCtrl  do it?


Posted By: Oleg
Date Posted: 15 December 2006 at 12:44am

Hi,

CListCtrl/CXTListCtrl don't support it. Use CListBox.


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


Posted By: Jungle26
Date Posted: 17 December 2006 at 8:21pm
Hi,
thank you.



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