Print Page | Close Window

CXTListCtrl problem

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


Topic: CXTListCtrl problem
Posted By: gibbo
Subject: CXTListCtrl problem
Date Posted: 23 May 2007 at 9:50am
Hi,
I have a class based upon the CXTListCtrl class.  I'm using this to display a collection of icons with name underneath them.  It's all working great.
 
I have one slight problem, It's related to the selection.  I have created the lCXTListCtrl with the following Style:
 
 LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_TABSTOP |WS_VISIBLE
 
As I want the selected item to always been shown selected.  Which it is, in a way.  When you click on the item it is highlighted in orange, but when the focus changes to another control, it changes back to blue..
 
Any ideas hows I can keep it orange?
Or change the default highlight colour to orange instead of blue?
 
Thanks
 
 


-------------
Gibbo



Replies:
Posted By: gibbo
Date Posted: 31 May 2007 at 3:59am
Any glue on this?

-------------
Gibbo


Posted By: Oleg
Date Posted: 31 May 2007 at 7:33am
Hi,

Afraid CListCtrl doesn't allow it and have no method to override.


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



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