@@ -256,8 +256,7 @@ Determines the width and height required to display the items of a list view con
256256
257257```
258258CSize ApproximateViewRect(
259- CSize sz = CSize(-1,
260- -1),
259+ CSize sz = CSize(-1, -1),
261260 int iCount = -1) const;
262261```
263262
@@ -705,7 +704,7 @@ A 32-bit value used to specify an RGB color.
705704
706705### Example
707706
708- See the example for [CListCtrl::SetBkColor](#setbkcolor).
707+ See the example for [CListCtrl::SetBkColor](#setbkcolor).
709708
710709## <a name="getbkimage"></a> CListCtrl::GetBkImage
711710
@@ -761,7 +760,7 @@ A "callback item" is a list view item for which the application — rather than
761760
762761### Example
763762
764- See the example for [ CListCtrl::SetCallbackMask] ( #setcallbackmask ) .
763+ See the example for [ CListCtrl::SetCallbackMask] ( #setcallbackmask ) .
765764
766765## <a name =" getcheck " ></a > CListCtrl::GetCheck
767766
@@ -786,7 +785,7 @@ This member function implements the behavior of the Win32 macro, [ListView_GetCh
786785
787786### Example
788787
789- See the example for [ CListCtrl::SetCheck] ( #setcheck ) .
788+ See the example for [ CListCtrl::SetCheck] ( #setcheck ) .
790789
791790## <a name =" getcolumn " ></a > CListCtrl::GetColumn
792791
@@ -868,7 +867,7 @@ This member function implements the behavior of the Win32 macro, [ListView_GetCo
868867 int nColumnCount = pHeaderCtrl->GetItemCount();
869868 LPINT pnOrder = (LPINT) malloc(nColumnCount*sizeof(int));
870869 ASSERT(pnOrder != NULL);
871- m_myListCtrl.GetColumnOrderArray(pnOrder, nColumnCount);
870+ m_myListCtrl.GetColumnOrderArray(pnOrder, nColumnCount);
872871
873872 int i, j, nTemp;
874873 for (i = 0, j = nColumnCount-1; i < j; i++, j--)
@@ -922,7 +921,7 @@ The number of items that can fit vertically in the visible area of a list view c
922921
923922### Example
924923
925- See the example for [ CListCtrl::GetTopIndex] ( #gettopindex ) .
924+ See the example for [ CListCtrl::GetTopIndex] ( #gettopindex ) .
926925
927926## <a name =" geteditcontrol " ></a > CListCtrl::GetEditControl
928927
@@ -985,7 +984,7 @@ This member function implements the behavior of the Win32 macro, [ListView_GetEx
985984
986985### Example
987986
988- See the example for [CListCtrl::SetExtendedStyle](#setextendedstyle).
987+ See the example for [CListCtrl::SetExtendedStyle](#setextendedstyle).
989988
990989## <a name="getfirstselecteditemposition"></a> CListCtrl::GetFirstSelectedItemPosition
991990
@@ -1262,7 +1261,7 @@ This member function implements the behavior of the Win32 macro, [ListView_GetHe
12621261
12631262### Example
12641263
1265- See the example for [CListCtrl::GetColumnOrderArray](#getcolumnorderarray).
1264+ See the example for [CListCtrl::GetColumnOrderArray](#getcolumnorderarray).
12661265
12671266## <a name="gethotcursor"></a> CListCtrl::GetHotCursor
12681267
@@ -1368,7 +1367,7 @@ A pointer to the image list used for drawing list view items.
13681367
13691368``` cpp
13701369 ASSERT (m_myListCtrl.GetImageList(LVSIL_NORMAL) == NULL);
1371- m_myListCtrl.SetImageList(&m_lcImageList, LVSIL_NORMAL);
1370+ m_myListCtrl.SetImageList(&m_lcImageList, LVSIL_NORMAL);
13721371 ASSERT(m_myListCtrl.GetImageList(LVSIL_NORMAL) == &m_lcImageList);
13731372```
13741373
@@ -1469,7 +1468,7 @@ The number of items in the list view control.
14691468
14701469### Example
14711470
1472- See the example for [CListCtrl::DeleteItem](#deleteitem).
1471+ See the example for [CListCtrl::DeleteItem](#deleteitem).
14731472
14741473## <a name="getitemdata"></a> CListCtrl::GetItemData
14751474
@@ -1639,7 +1638,7 @@ Nonzero if successful; otherwise zero.
16391638void CListCtrlDlg::OnClick (NMHDR* pNMHDR, LRESULT* pResult)
16401639{
16411640 UNREFERENCED_PARAMETER(pResult);
1642- LPNMITEMACTIVATE pia = (LPNMITEMACTIVATE)pNMHDR;
1641+ LPNMITEMACTIVATE pia = (LPNMITEMACTIVATE)pNMHDR;
16431642
16441643 // Get the current mouse location and convert it to client
16451644 // coordinates.
@@ -1729,7 +1728,7 @@ An item's state is specified by the `state` member of the [LVITEM](/windows/desk
17291728
17301729### Example
17311730
1732- See the example for [CListCtrl::GetTopIndex](#gettopindex).
1731+ See the example for [CListCtrl::GetTopIndex](#gettopindex).
17331732
17341733## <a name="getitemtext"></a> CListCtrl::GetItemText
17351734
@@ -2122,7 +2121,7 @@ A 32-bit value used to specify an RGB color.
21222121
21232122### Example
21242123
2125- See the example for [CListCtrl::SetTextBkColor](#settextbkcolor).
2124+ See the example for [CListCtrl::SetTextBkColor](#settextbkcolor).
21262125
21272126## <a name="gettextcolor"></a> CListCtrl::GetTextColor
21282127
@@ -2138,7 +2137,7 @@ A 32-bit value used to specify an RGB color.
21382137
21392138### Example
21402139
2141- See the example for [CListCtrl::SetTextColor](#settextcolor).
2140+ See the example for [CListCtrl::SetTextColor](#settextcolor).
21422141
21432142## <a name="gettileinfo"></a> CListCtrl::GetTileInfo
21442143
@@ -2299,7 +2298,7 @@ This member function implements the behavior of the Win32 macro, [ListView_GetWo
22992298
23002299### Example
23012300
2302- See the example for [CListCtrl::GetNumberOfWorkAreas](#getnumberofworkareas).
2301+ See the example for [CListCtrl::GetNumberOfWorkAreas](#getnumberofworkareas).
23032302
23042303## <a name="hasgroup"></a> CListCtrl::HasGroup
23052304
@@ -2915,7 +2914,7 @@ Returns nonzero if successful, or zero otherwise.
29152914
29162915### Example
29172916
2918- See the example for [ CListCtrl::GetBkImage] ( #getbkimage ) .
2917+ See the example for [ CListCtrl::GetBkImage] ( #getbkimage ) .
29192918
29202919## <a name =" setcallbackmask " ></a > CListCtrl::SetCallbackMask
29212920
@@ -3007,7 +3006,7 @@ Nonzero if successful; otherwise zero.
30073006
30083007### Example
30093008
3010- See the example for [ CListCtrl::GetColumn] ( #getcolumn ) .
3009+ See the example for [ CListCtrl::GetColumn] ( #getcolumn ) .
30113010
30123011## <a name =" setcolumnorderarray " ></a > CListCtrl::SetColumnOrderArray
30133012
@@ -3037,7 +3036,7 @@ This member function implements the behavior of the Win32 macro, [ListView_SetCo
30373036
30383037### Example
30393038
3040- See the example for [ CListCtrl::GetColumnOrderArray] ( #getcolumnorderarray ) .
3039+ See the example for [ CListCtrl::GetColumnOrderArray] ( #getcolumnorderarray ) .
30413040
30423041## <a name =" setcolumnwidth " ></a > CListCtrl::SetColumnWidth
30433042
@@ -3158,7 +3157,7 @@ The hot cursor, only visible when hover selection is enabled, appears as the cur
31583157
31593158### Example
31603159
3161- See the example for [ CListCtrl::GetHotCursor] ( #gethotcursor ) .
3160+ See the example for [ CListCtrl::GetHotCursor] ( #gethotcursor ) .
31623161
31633162## <a name =" sethotitem " ></a > CListCtrl::SetHotItem
31643163
@@ -3183,7 +3182,7 @@ This member function implements the behavior of the Win32 macro, [ListView_SetHo
31833182
31843183### Example
31853184
3186- See the example for [ CListCtrl::GetHotItem] ( #gethotitem ) .
3185+ See the example for [ CListCtrl::GetHotItem] ( #gethotitem ) .
31873186
31883187## <a name =" sethovertime " ></a > CListCtrl::SetHoverTime
31893188
@@ -3208,7 +3207,7 @@ This member function implements the behavior of the Win32 macro, [ListView_SetHo
32083207
32093208### Example
32103209
3211- See the example for [ CListCtrl::GetHoverTime] ( #gethovertime ) .
3210+ See the example for [ CListCtrl::GetHoverTime] ( #gethovertime ) .
32123211
32133212## <a name =" seticonspacing " ></a > CListCtrl::SetIconSpacing
32143213
@@ -3278,7 +3277,7 @@ A pointer to the previous image list.
32783277
32793278### Example
32803279
3281- See the example for [ CListCtrl::GetImageList] ( #getimagelist ) .
3280+ See the example for [ CListCtrl::GetImageList] ( #getimagelist ) .
32823281
32833282## <a name =" setinfotip " ></a > CListCtrl::SetInfoTip
32843283
@@ -3420,7 +3419,7 @@ The `mask` member of the `LVITEM` structure and the *nMask* parameter specify wh
34203419
34213420### Example
34223421
3423- See the example for [ CListCtrl::HitTest] ( #hittest ) .
3422+ See the example for [ CListCtrl::HitTest] ( #hittest ) .
34243423
34253424## <a name =" setitemcount " ></a > CListCtrl::SetItemCount
34263425
@@ -3602,7 +3601,7 @@ If the list view control has the LVS_AUTOARRANGE style, the list view is arrange
36023601
36033602### Example
36043603
3605- See the example for [CListCtrl::GetItemPosition](#getitemposition).
3604+ See the example for [CListCtrl::GetItemPosition](#getitemposition).
36063605
36073606## <a name="setitemstate"></a> CListCtrl::SetItemState
36083607
@@ -3643,7 +3642,7 @@ An item's "state" is a value that specifies the item's availability, indicates u
36433642
36443643### Example
36453644
3646- See the example for [CListCtrl::GetTopIndex](#gettopindex).
3645+ See the example for [CListCtrl::GetTopIndex](#gettopindex).
36473646
36483647## <a name="setitemtext"></a> CListCtrl::SetItemText
36493648
@@ -3677,7 +3676,7 @@ This method is not intended for use with controls containing the LVS_OWNERDATA w
36773676
36783677### Example
36793678
3680- See the example for [CListCtrl::InsertItem](#insertitem).
3679+ See the example for [CListCtrl::InsertItem](#insertitem).
36813680
36823681## <a name="setoutlinecolor"></a> CListCtrl::SetOutlineColor
36833682
@@ -3744,7 +3743,7 @@ This member function implements the behavior of the Win32 macro, [ListView_SetSe
37443743
37453744### Example
37463745
3747- See the example for [CListCtrl::GetSelectionMark](#getselectionmark).
3746+ See the example for [CListCtrl::GetSelectionMark](#getselectionmark).
37483747
37493748## <a name="settextbkcolor"></a> CListCtrl::SetTextBkColor
37503749
@@ -3991,7 +3990,7 @@ int CALLBACK CListCtrlDlg::MyCompareProc(LPARAM lParam1, LPARAM lParam2,
39913990 LPARAM lParamSort)
39923991{
39933992 UNREFERENCED_PARAMETER(lParamSort);
3994- return (int)(lParam1 - lParam2);
3993+ return (int)(lParam1 - lParam2);
39953994}
39963995```
39973996
@@ -4115,7 +4114,7 @@ This member function implements the behavior of the Win32 macro, [ListView_SubIt
41154114void CListCtrlDlg::OnDblClk(NMHDR* pNMHDR, LRESULT* pResult)
41164115{
41174116 UNREFERENCED_PARAMETER(pResult);
4118- LPNMITEMACTIVATE pia = (LPNMITEMACTIVATE)pNMHDR;
4117+ LPNMITEMACTIVATE pia = (LPNMITEMACTIVATE)pNMHDR;
41194118 LVHITTESTINFO lvhti;
41204119
41214120 // Clear the subitem text the user clicked on.
@@ -4152,7 +4151,7 @@ This function also arranges the list view control if it has the LVS_AUTOARRANGE
41524151
41534152### Example
41544153
4155- See the example for [ CListCtrl::GetSelectedCount] ( #getselectedcount ) .
4154+ See the example for [ CListCtrl::GetSelectedCount] ( #getselectedcount ) .
41564155
41574156## See also
41584157
0 commit comments