CListCtrl selection color
-
Hello, Is there a simple way to override the default selection format indication for a CListCtrl---or stop the selection from drawing? The default behavior is for the selected CListCtrl (report) item to be drawn with a dark system color while inversing the text to white. I would like to use an alternative drawing scheme to indicate that the item(s) is selected. I would rather not choose to draw the entire control myself. thanks! JennyP
-
Hello, Is there a simple way to override the default selection format indication for a CListCtrl---or stop the selection from drawing? The default behavior is for the selected CListCtrl (report) item to be drawn with a dark system color while inversing the text to white. I would like to use an alternative drawing scheme to indicate that the item(s) is selected. I would rather not choose to draw the entire control myself. thanks! JennyP
It's possible to do it using Custom Draw (without drawing the whole control). Take a look at "NM_CUSTOMDRAW (list view)" in the MSDN index. Chris Richardson