|
1 | 1 | --- |
2 | 2 | title: "CMFCListCtrl Class" |
3 | | -ms.date: "11/04/2016" |
| 3 | +ms.date: "07/30/2019" |
4 | 4 | f1_keywords: ["CMFCListCtrl", "AFXLISTCTRL/CMFCListCtrl", "AFXLISTCTRL/CMFCListCtrl::EnableMarkSortedColumn", "AFXLISTCTRL/CMFCListCtrl::EnableMultipleSort", "AFXLISTCTRL/CMFCListCtrl::GetHeaderCtrl", "AFXLISTCTRL/CMFCListCtrl::IsMultipleSort", "AFXLISTCTRL/CMFCListCtrl::OnCompareItems", "AFXLISTCTRL/CMFCListCtrl::OnGetCellBkColor", "AFXLISTCTRL/CMFCListCtrl::OnGetCellFont", "AFXLISTCTRL/CMFCListCtrl::OnGetCellTextColor", "AFXLISTCTRL/CMFCListCtrl::RemoveSortColumn", "AFXLISTCTRL/CMFCListCtrl::SetSortColumn", "AFXLISTCTRL/CMFCListCtrl::Sort"] |
5 | 5 | helpviewer_keywords: ["CMFCListCtrl [MFC], EnableMarkSortedColumn", "CMFCListCtrl [MFC], EnableMultipleSort", "CMFCListCtrl [MFC], GetHeaderCtrl", "CMFCListCtrl [MFC], IsMultipleSort", "CMFCListCtrl [MFC], OnCompareItems", "CMFCListCtrl [MFC], OnGetCellBkColor", "CMFCListCtrl [MFC], OnGetCellFont", "CMFCListCtrl [MFC], OnGetCellTextColor", "CMFCListCtrl [MFC], RemoveSortColumn", "CMFCListCtrl [MFC], SetSortColumn", "CMFCListCtrl [MFC], Sort"] |
6 | 6 | ms.assetid: 50d16aee-138c-4f34-8690-cb75d544ef2e |
@@ -113,7 +113,7 @@ A reference to the underlying [CMFCHeaderCtrl](../../mfc/reference/cmfcheaderctr |
113 | 113 |
|
114 | 114 | ### Remarks |
115 | 115 |
|
116 | | -The header control for a list control is the window that contains the titles for the columns. It is usually positioned directly above the columns. |
| 116 | +The header control for a list control is the window that contains the titles for the columns. It's usually positioned directly above the columns. |
117 | 117 |
|
118 | 118 | ## <a name="ismultiplesort"></a> CMFCListCtrl::IsMultipleSort |
119 | 119 |
|
@@ -155,11 +155,11 @@ virtual int OnCompareItems( |
155 | 155 |
|
156 | 156 | ### Return Value |
157 | 157 |
|
158 | | -An integer that indicates the relative position of the two items. A negative value indicates that the first item should precede the second, positive value indicates that the first item should follow the second, and zero means that the two items are equivalent. |
| 158 | +An integer that indicates the relative position of the two items. A negative value indicates the first item should precede the second, a positive value indicates the first item should follow the second, and zero means the two items are equivalent. |
159 | 159 |
|
160 | 160 | ### Remarks |
161 | 161 |
|
162 | | -The default implementation always returns 0. You must override this function to provide a sorting algorithm. |
| 162 | +The default implementation always returns 0. Override this function to provide your own sorting algorithm. |
163 | 163 |
|
164 | 164 | ## <a name="ongetcellbkcolor"></a> CMFCListCtrl::OnGetCellBkColor |
165 | 165 |
|
@@ -207,15 +207,15 @@ virtual HFONT OnGetCellFont( |
207 | 207 | [in] The column of the cell in question. |
208 | 208 |
|
209 | 209 | *dwData*<br/> |
210 | | -[in] User-defined data. The default implementation does not use this parameter. |
| 210 | +[in] User-defined data. The default implementation doesn't use this parameter. |
211 | 211 |
|
212 | 212 | ### Return Value |
213 | 213 |
|
214 | 214 | A handle to the font that is used for the current cell. |
215 | 215 |
|
216 | 216 | ### Remarks |
217 | 217 |
|
218 | | -By default, this method returns NULL. All of the cells in a list control have the same font. Override this method in order to provide different fonts for different cells. |
| 218 | +By default, this method returns NULL. All of the cells in a list control have the same font. Override this method to provide different fonts for different cells. |
219 | 219 |
|
220 | 220 | ## <a name="ongetcelltextcolor"></a> CMFCListCtrl::OnGetCellTextColor |
221 | 221 |
|
|
0 commit comments