BCGControlBar Pro for MFC
CBCGPListCtrl

Detailed Description

The CBCGPListCtrl class extends the functionality of CListCtrl by supporting advanced header control CBCGPHeaderCtrl, themed scroll bars and visual manager style.

+ Inheritance diagram for CBCGPListCtrl:

Public Member Functions

 EnableMarkSortedColumnEnables an ability to mark a selected column by a different background color.
 
 EnableMultipleSortEnables multiple sort mode.
 
 EnableSortExSpecifies whether LVM_SORTITEMSEX message will be used for the items sorting. By default, LVM_SORTITEMS is being used.
 
 EnableSortingSpecifies whether column sorting is enabled.
 
 EnableThemedInplaceTooltipSpecifies whether list control inplace tooltip should be themed.
 
 EnableThemedSelectionSpecifies whether a list control selected item should be drawn using a current Visual Theme.
 
 GetHeaderCtrlReturns a reference to underlined header control.
 
 GetSafeItemDataRetrieves the application-specific value associated with the item specified by nItem.
 
 IsCustomIconTells whether a list control item has a custom (owner-draw) icon.
 
 IsGrayDisabledItemsTells whether the text of the disabled list control is grayed.
 
 IsMultipleSortDetermines whether the list control is in multiple sort mode.
 
 IsSortExTells whether LVM_SORTITEMSEX message is used for the items sorting.
 
 IsSortingEnabledTells whether column sorting is enabled.
 
 IsThemedInplaceTooltipTells whether a list control inplace tooltip should be drawn using a current Visual Theme.
 
 IsThemedSelectionTells whether a list control selected item should be drawn using a current Visual Theme.
 
 OnCompareItemsCalled by the framework when it needs to compare two list control items.
 
 OnDrawCustomIconCalled by the framework when it needs to draw a custom list control icon.
 
 OnGetCellBkColorCalled by the framework when it needs to determine the background color of an individual cell in a list control.
 
 OnGetCellFontCalled by the framework when it needs to obtain the font for the cell being drawn.
 
 OnGetCellTextColorCalled by the framework when it needs to determine the text color of an individual cell in a list control.
 
 RemoveSortColumnRemoves the specified sort column from the list of sorted columns.
 
 SetGrayDisabledItemsSpecifies whether the text of the disabled list control is grayed.
 
 SetSortColumnSets the current sorted column and its sort order.
 
 SortImmediately sorts the list control.
 

Public Attributes

 m_bVisualManagerStyleSpecifies whether a control has a Visual Manager style look.
 

Protected Member Functions

 OnBeforeDrawItemCalled by the framework before darwing a list control item.