Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » CExtListCtrl Collapse All
Subject Author Date
Johannes Wisnewski Dec 16, 2009 - 10:44 AM

Hallo,


is it possible to define a background color for a whole row in CExtListCtrl, or for one column, or for the current selected row?


How can I do it?


 


Thank you for your answer.

Technical Support Dec 18, 2009 - 11:12 AM

The CExtListCtrl control implements the extended version of the CListCtrl standard list view common control. It adds support for the themed scroll bars and provides the themed header control with additional features in the report mode (header item buttons, sorting). The CExtListCtrl control does not affect to the list view items displayed in its client area. This means, if you want to change look of list view items of the CExtListCtrl control, then you should implement the custom painting and work with the CExtListCtrl control like with the CListCtrl control. It’s not difficult and here is what you need:

http://www.codeproject.com/KB/list/lvcustomdraw.aspx?msg=261967
http://msdn.microsoft.com/en-us/library/ms364048(VS.80).aspx