Print Page | Close Window

CXTListCtrl and color of selected rows

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=22973
Printed Date: 25 November 2024 at 6:58am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTListCtrl and color of selected rows
Posted By: grudy
Subject: CXTListCtrl and color of selected rows
Date Posted: 24 March 2016 at 8:29am
We use CXTListCtrls in various dialogs throughout our application. A user recently raised an issue that might be obvious, but I can't seem to figure it out. We are using full-row select. When you select a row, the background changes to the normal "blue" color and is clearly visible. If however you click something else in the dialog and the CXTListCtrl loses focus, the selected row background changes to a very light color that is difficult to distinguish from non-selected rows depending on the monitor and contrast settings. You can see this behavior in the List Control sample as well.

Is there a way to change this behavior... either just don't change the color when the control loses focus, or change the background color used for selected rows when the control does not have focus?

Thanks.



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