Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - CXTListCtrl and color of selected rows
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTListCtrl and color of selected rows

 Post Reply Post Reply
Author
Message
grudy View Drop Down
Groupie
Groupie


Joined: 02 November 2004
Location: United States
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote grudy Quote  Post ReplyReply Direct Link To This Post Topic: CXTListCtrl and color of selected rows
    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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.