Visual C++ and MFC Fundamentals Chapter 21: Tree and List Controls
Besides the regular styles, the Win32 library provides extended styles for a list control.
To apply an extended style, call the CListCtrl::SetExtendedStyle() method. Its syntax
is:
DWORD SetExtendedStyle(DWORD dwNewStyle);
When calling this method, pass the desired extended style or a combination of these
styles as argument. Some of the values are:
LVS_EX_CHECKBOXES: The items of the control will display a check box on their
left side:
LVS_EX_FULLROWSELECT: This style allows the whole row of a Report view to be
selected instead of just the item:
LVS_EX_GRIDLINES: The control’s items in Report view will display with horizontal
grid lines that separate items and vertical grid lines that separate columns items or
categories: