Print Page | Close Window

CListCtrl/CXTPListCtrl questions

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=1658
Printed Date: 23 July 2025 at 5:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CListCtrl/CXTPListCtrl questions
Posted By: skura
Subject: CListCtrl/CXTPListCtrl questions
Date Posted: 11 January 2005 at 5:33pm

How can I achieve the following functionality (as shown in the below) using CListCtrl/CXTPListCtrl in a Dialog based app?

1) In Icon View I would like to display the formatted text (some lines are in bold in different colors) in multiple lines. I am partially successfull in achieving this by handling NM_CUSTOMDRAW message. I am yet to figure out how to display the formatted text. Please find a sample project https://forum.codejock.com/uploads/skura/2005-01-11_173137_ListEx.zip - 2005-01-11_173137_ListEx.zip  that tries to achieve this.

2) I want to display a background image in the list control.

Any ideas or sample code is greatly appreciated.




Replies:
Posted By: ICBM
Date Posted: 13 January 2005 at 2:33pm

This sort of question would probably be better posted to http://www.codeproject.com - http://www.codeproject.com .

That said, unless you really want to use a list control, have you considered simply rendering what you want in HTML and using a CHTMLView/CHTMLCtrl ?




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